[arch-commits] CVS update of extra/lib/gtk (PKGBUILD)
Eric Belanger
eric at archlinux.org
Sat Jan 5 02:37:35 UTC 2008
Date: Friday, January 4, 2008 @ 21:37:35
Author: eric
Path: /home/cvs-extra/extra/lib/gtk
Modified: PKGBUILD (1.16 -> 1.17)
upgpkg: gtk 1.2.10-8
added license, PKGBUILD cleanup
----------+
PKGBUILD | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
Index: extra/lib/gtk/PKGBUILD
diff -u extra/lib/gtk/PKGBUILD:1.16 extra/lib/gtk/PKGBUILD:1.17
--- extra/lib/gtk/PKGBUILD:1.16 Mon May 15 16:42:10 2006
+++ extra/lib/gtk/PKGBUILD Fri Jan 4 21:37:35 2008
@@ -1,28 +1,32 @@
-# $Id: PKGBUILD,v 1.16 2006/05/15 20:42:10 uid1016 Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
-# Committer: Judd Vinet <jvinet at zeroflux.org>
+# $Id: PKGBUILD,v 1.17 2008/01/05 02:37:35 eric Exp $
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
pkgname=gtk
pkgver=1.2.10
-pkgrel=7
+pkgrel=8
pkgdesc="The GTK+ toolkit"
-arch=(i686 x86_64)
-depends=(libxi glib)
-source=(ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-$pkgver.tar.gz
+arch=('i686' 'x86_64')
+url="http://www.gtk.org/"
+license=('LGPL')
+depends=('libxi' 'glib')
+options=('!libtool')
+source=(ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-$pkgver.tar.gz \
aclocal-fixes.patch)
-md5sums=(4d5cb2fc7fb7830e4af9747a36bfce20 c59d4906602d99a7468f7334b6fc3b4e)
+md5sums=('4d5cb2fc7fb7830e4af9747a36bfce20' 'c59d4906602d99a7468f7334b6fc3b4e')
+sha1sums=('a5adcb909257da01ae4d4761e1d41081d06e4d7c' 'b034e33efb85d27f3f3fb082c404e3b6ea79259f')
build() {
cd $startdir/src/gtk+-$pkgver
-if [ "$CARCH" == "x86_64" ]; then
- rm config.guess config.sub
- ln -s /usr/share/libtool/config.guess config.guess
- ln -s /usr/share/libtool/config.sub config.sub
-fi
+ if [ "$CARCH" == "x86_64" ]; then
+ rm config.guess config.sub
+ ln -s /usr/share/libtool/config.guess config.guess
+ ln -s /usr/share/libtool/config.sub config.sub
+ fi
patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc --with-xinput=xfree
make || return 1
make DESTDIR=$startdir/pkg install
cd $startdir/pkg/usr/include
ln -s gtk-1.2/gtk gtk
- find $startdir/pkg -name '*.la' -exec rm {} \;
}
More information about the arch-commits
mailing list