From 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Sep 2011 23:14:33 +0000 Subject: Sun Sep 11 23:14:33 UTC 2011 --- extra/xcb-util/PKGBUILD | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'extra/xcb-util') 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 -# Contributor: Andrea Scarpino +# Contributor: Andrea Scarpino 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" } -- cgit v1.2.3-54-g00ecf