summaryrefslogtreecommitdiffstats
path: root/abs/core/xcb-proto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xcb-proto/PKGBUILD')
-rw-r--r--abs/core/xcb-proto/PKGBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/abs/core/xcb-proto/PKGBUILD b/abs/core/xcb-proto/PKGBUILD
index 5f4d1d3..81635de 100644
--- a/abs/core/xcb-proto/PKGBUILD
+++ b/abs/core/xcb-proto/PKGBUILD
@@ -1,26 +1,27 @@
-# $Id: PKGBUILD 61568 2009-12-19 19:52:55Z jgc $
+# $Id: PKGBUILD 154172 2012-03-23 20:55:53Z andyrtr $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xcb-proto
-pkgver=1.6
-pkgrel=2
+pkgver=1.7.1
+pkgrel=1
pkgdesc="XML-XCB protocol descriptions"
arch=(any)
url="http://xcb.freedesktop.org/"
license=('custom')
makedepends=('python2' 'libxml2')
-source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('e82418557c7f59f29da9ec18e0906d6d78e3a164')
+source=($url/dist/$pkgname-$pkgver.tar.bz2)
+sha1sums=('82a568559235fc6e26d0a38911c5ea18f8e8455c')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ make
}
+
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
+ install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
}