[arch-commits] Commit in gtk/trunk (PKGBUILD)
Daniel Griffiths
dgriffiths at archlinux.org
Mon Apr 12 02:30:35 UTC 2010
Date: Sunday, April 11, 2010 @ 22:30:34
Author: dgriffiths
Revision: 77344
Adopted, move to splitpkg format
Modified:
gtk/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++--------------
1 file changed, 21 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-04-12 02:28:31 UTC (rev 77343)
+++ PKGBUILD 2010-04-12 02:30:34 UTC (rev 77344)
@@ -1,6 +1,7 @@
# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=gtk
pkgver=1.2.10
@@ -13,21 +14,27 @@
makedepends=('libxt')
options=('!libtool')
install=gtk.install
-source=(ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-$pkgver.tar.gz aclocal-fixes.patch)
+source=(ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-${pkgver}.tar.gz
+ aclocal-fixes.patch)
md5sums=('4d5cb2fc7fb7830e4af9747a36bfce20' 'c59d4906602d99a7468f7334b6fc3b4e')
sha1sums=('a5adcb909257da01ae4d4761e1d41081d06e4d7c' 'b034e33efb85d27f3f3fb082c404e3b6ea79259f')
build() {
- cd "${srcdir}/gtk+-${pkgver}"
- if [ "${CARCH}" = "x86_64" ]; then
- rm config.guess config.sub
- 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
- ./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
+ cd ${srcdir}/gtk+-${pkgver}
+ if [ "${CARCH}" = "x86_64" ]; then
+ rm config.guess config.sub
+ 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
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --mandir=/usr/share/man --infodir=/usr/share/info \
+ --with-xinput=xfree || return 1
+ make || return 1
}
+
+package() {
+ cd ${srcdir}/gtk+-${pkgver}
+ make DESTDIR=${pkgdir} install || return 1
+}
More information about the arch-commits
mailing list