opt/gtk3/Pkgfile
Danny Rawlins cc8c05d5f6 gtk3: gtk-update-icon-cache has been moved from gtk to gtk3, update gtk before gtk3 to avoid file conflicts on gtk-update-icon-cache
you may still get a file conflict on immodules.cache this is safe to force orver write
2021-01-14 00:15:28 +11:00

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.24
release=2
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}
}