diff options
Diffstat (limited to 'user/libxau')
-rw-r--r-- | user/libxau/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libxau/APKBUILD b/user/libxau/APKBUILD new file mode 100644 index 000000000..6a6ef4542 --- /dev/null +++ b/user/libxau/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libxau +pkgver=1.0.8 +pkgrel=3 +pkgdesc="X11 authorisation library" +url="https://www.X.Org/" +arch="all" +license="X11" +depends= +makedepends="xorgproto-dev util-macros" +subpackages="$pkgname-dev $pkgname-doc" +source="https://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" |