opt/gtk/Pkgfile

27 lines
825 B
Plaintext
Raw Normal View History

# Description: A multi-platform toolkit for creating graphical user interfaces
# URL: http://www.gtk.org/
2008-01-30 20:55:32 +01:00
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
2010-11-28 10:38:10 +01:00
# Depends on: atk, hicolor-icon-theme, gdk-pixbuf, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr
name=gtk
2010-11-27 13:59:00 +01:00
version=2.22.1
2010-11-28 18:16:08 +01:00
release=2
2010-11-28 10:38:10 +01:00
source=(http://download.gnome.org/sources/gtk+/2.22/${name}+-2.22.1.tar.bz2 \
2010-11-28 18:16:08 +01:00
gtk.immodules gtk-register.sh
old-icon-symlinks.patch)
build () {
2010-11-28 10:38:10 +01:00
cd gtk+-2.22.1
2010-03-21 16:25:08 +01:00
2010-11-28 18:16:08 +01:00
patch -p1 -i $SRC/old-icon-symlinks.patch
./configure --prefix=/usr --mandir=/usr/man
make
make DESTDIR=$PKG install
mkdir -p $PKG/usr/etc/gtk-2.0
2010-11-28 10:38:10 +01:00
install -m 644 $SRC/gtk.immodules $PKG/usr/etc/gtk-2.0/
rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
}