summaryrefslogtreecommitdiff
path: root/extra/gtk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk/PKGBUILD')
-rw-r--r--extra/gtk/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/extra/gtk/PKGBUILD b/extra/gtk/PKGBUILD
index 4895b5942..30fc520a8 100644
--- a/extra/gtk/PKGBUILD
+++ b/extra/gtk/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 62736 2010-01-11 15:31:11Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 137905 2011-09-12 10:53:48Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=gtk
pkgver=1.2.10
-pkgrel=10
+pkgrel=11
pkgdesc="The GTK+ toolkit"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
@@ -13,9 +12,10 @@ depends=('libxi' 'glib' 'sh')
makedepends=('libxt')
options=('!libtool')
install=gtk.install
-source=(ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-$pkgver.tar.gz aclocal-fixes.patch)
-md5sums=('4d5cb2fc7fb7830e4af9747a36bfce20' 'c59d4906602d99a7468f7334b6fc3b4e')
-sha1sums=('a5adcb909257da01ae4d4761e1d41081d06e4d7c' 'b034e33efb85d27f3f3fb082c404e3b6ea79259f')
+source=("ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-${pkgver}.tar.gz"
+ 'aclocal-fixes.patch')
+md5sums=('4d5cb2fc7fb7830e4af9747a36bfce20'
+ 'c59d4906602d99a7468f7334b6fc3b4e')
build() {
cd "${srcdir}/gtk+-${pkgver}"
@@ -24,10 +24,15 @@ build() {
ln -s /usr/share/libtool/config/config.guess config.guess
ln -s /usr/share/libtool/config/config.sub config.sub
fi
- patch -Np0 -i "${srcdir}/aclocal-fixes.patch" || return 1
+ patch -Np0 -i "${srcdir}/aclocal-fixes.patch"
+
./configure --prefix=/usr --sysconfdir=/etc \
--mandir=/usr/share/man --infodir=/usr/share/info \
- --with-xinput=xfree || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ --with-xinput=xfree
+ make
+}
+
+package() {
+ cd "${srcdir}/gtk+-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}