summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xcb-proto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/xcb-proto/PKGBUILD')
-rw-r--r--abs/core-testing/xcb-proto/PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/abs/core-testing/xcb-proto/PKGBUILD b/abs/core-testing/xcb-proto/PKGBUILD
index b17aa2d..e59e26b 100644
--- a/abs/core-testing/xcb-proto/PKGBUILD
+++ b/abs/core-testing/xcb-proto/PKGBUILD
@@ -1,21 +1,23 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 17316 2008-10-28 12:25:37Z douglas $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
+
pkgname=xcb-proto
-pkgver=1.1
-pkgrel=1
+pkgver=1.2
+pkgrel=2
pkgdesc="XML-XCB protocol descriptions"
arch=(i686 x86_64)
url="http://xcb.freedesktop.org/"
license=('custom')
+makedepends=('python' 'libxml2')
source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('09f912486d8a2353bb4b99ddc28ba3c7')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
- install -m644 -D ${startdir}/src/${pkgname}-${pkgver}/COPYING \
- ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
+ make DESTDIR=${pkgdir} install || return 1
+ install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
+ install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}
-md5sums=('dd34acc58c0a438e812f72a9afe7b2a0')