summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libxau
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/libxau')
-rw-r--r--abs/core-testing/libxau/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/abs/core-testing/libxau/PKGBUILD b/abs/core-testing/libxau/PKGBUILD
index 7b2116b..7d58219 100644
--- a/abs/core-testing/libxau/PKGBUILD
+++ b/abs/core-testing/libxau/PKGBUILD
@@ -1,22 +1,25 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 50978 2009-09-04 12:12:03Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxau
-pkgver=1.0.3
+pkgver=1.0.5
pkgrel=1
pkgdesc="X11 authorisation library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('glibc')
-makedepends=('pkgconfig' 'xproto')
+makedepends=('pkgconfig' 'xproto>=7.0.15')
+license=('custom')
options=('!libtool')
source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2)
+sha1sums=('b1c68843edf7e80ce952f7ee0541448f41bac202')
build() {
- cd ${startdir}/src/libXau-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc \
- --host=${CHOST} --build=${CHOST}
+ cd "${srcdir}/libXau-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ 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=('75a9f2b85cd1617b5ca98c9095323853')