compat-32/gtk-32/Pkgfile

28 lines
819 B
Plaintext
Raw Normal View History

# Description: A multi-platform toolkit for creating graphical user interfaces
# URL: https://www.gtk.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: at-spi2-core-32 gdk-pixbuf-32 gtk pango-32 xorg-libxcomposite-32 xorg-libxcursor-32 xorg-libxinerama-32 xorg-libxrandr-32
name=gtk-32
2021-01-19 10:26:11 +01:00
version=2.24.33
release=1
2021-01-19 10:26:11 +01:00
source=(https://download.gnome.org/sources/gtk+/${version%.*}/gtk+-$version.tar.xz)
build() {
cd gtk+-$version
export PKG_CONFIG_PATH+=":/usr/share/pkgconfig"
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--disable-cups
make
make DESTDIR=$PKG install
2013-09-30 13:18:44 +02:00
mv $PKG/usr/bin/gtk-query-immodules-2.0 $PKG/usr/bin/gtk-query-immodules-2.0-32
rm $PKG/usr/bin/{gtk-builder-convert,gtk-demo,gtk-update-icon-cache}
rm -r $PKG/usr/etc $PKG/usr/{include,share}
}