summaryrefslogtreecommitdiff
path: root/gtk/Pkgfile
blob: 2f83c2ad9989a3701839658010c12421b74a17d6 (plain)
    1 # Description: A multi-platform toolkit for creating graphical user interfaces
    2 # URL: http://www.gtk.org/
    3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
    4 # Depends on: atk, hicolor-icon-theme, libtiff, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr
    5 
    6 name=gtk
    7 version=2.16.1
    8 release=1
    9 source=(http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.0.tar.bz2 \
   10         http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.0-2.16.1.diff.gz \
   11 	gdk-pixbuf.loaders gtk.immodules \
   12 	gtk-register.sh)
   13 
   14 build () {
   15 	cd gtk+-2.16.0
   16 
   17 	zcat $SRC/gtk+-2.16.0-2.16.1.diff.gz | patch -p1
   18 
   19 	./configure --prefix=/usr \
   20 		--mandir=/usr/man --without-libjasper
   21 	make
   22 	make DESTDIR=$PKG install
   23 	mkdir -p $PKG/usr/etc/gtk-2.0
   24 	install -m 644 $SRC/{gtk.immodules,gdk-pixbuf.loaders} \
   25 		$PKG/usr/etc/gtk-2.0/
   26 	rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
   27 
   28 	install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
   29 }

Generated by cgit