summaryrefslogtreecommitdiff
path: root/extra/xcb-util
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
commit1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (patch)
tree4f22b6f4f4737987b4eec85fbc027684f209df2e /extra/xcb-util
parent1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (diff)
Sun Sep 11 23:14:33 UTC 2011
Diffstat (limited to 'extra/xcb-util')
-rw-r--r--extra/xcb-util/PKGBUILD24
1 files changed, 15 insertions, 9 deletions
diff --git a/extra/xcb-util/PKGBUILD b/extra/xcb-util/PKGBUILD
index 0045d6837..d43d6621f 100644
--- a/extra/xcb-util/PKGBUILD
+++ b/extra/xcb-util/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 50472 2009-08-27 18:32:48Z ronald $
+# $Id: PKGBUILD 137766 2011-09-10 16:41:45Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=xcb-util
pkgver=0.3.6
-pkgrel=1
+pkgrel=2
pkgdesc="Utility libraries for XC Binding"
arch=('i686' 'x86_64')
url="http://xcb.freedesktop.org"
@@ -12,15 +12,21 @@ license=('custom')
depends=('libxcb>=1.4')
makedepends=('gperf')
options=('!libtool')
-source=(http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2
- LICENSE)
+source=("http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2"
+ 'LICENSE')
md5sums=('dd8968b8ee613cb027a8ef1fcbdc8fc9'
'2672c2e72dedb40f773e989dd622f298')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-static || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 "${srcdir}/LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}