# Maintainer: Natanael Copa pkgname=libxau pkgver=1.0.8 pkgrel=2 pkgdesc="X11 authorisation library" url="http://xorg.freedesktop.org/" arch="all" license="custom" depends= makedepends="xproto util-macros" subpackages="$pkgname-dev $pkgname-doc" source="http://www.x.org/releases/individual/lib/libXau-$pkgver.tar.bz2" builddir="$srcdir"/libXau-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="9f933d22f8f2411ae770094589cbe170c631a1437d572664e0fa6b9608e6ec39deef752f2dd6408ab45acdf01bf1827ef3ced640a33da787d9cfb546f12397b5 libXau-1.0.8.tar.bz2"