24 lines
663 B
Plaintext
24 lines
663 B
Plaintext
# Description: A multi-platform toolkit for creating graphical user interfaces
|
|
# URL: https://www.gtk.org/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: at-spi2-atk gdk-pixbuf libepoxy pango
|
|
|
|
name=gtk3
|
|
version=3.24.29
|
|
release=1
|
|
source=(https://download.gnome.org/sources/gtk+/${version:0:4}/gtk+-$version.tar.xz
|
|
gtk.immodules gtk-register-3.sh)
|
|
|
|
build() {
|
|
cd gtk+-$version
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -m 0644 -D $SRC/gtk.immodules $PKG/usr/lib/gtk-3.0/3.0.0/immodules.cache
|
|
install -m 0755 $SRC/gtk-register-3.sh $PKG/usr/bin/gtk-register-3
|
|
|
|
rm -r $PKG/usr/share/{gtk-doc,locale,gtk-3.0}
|
|
}
|