aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxau/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxau/APKBUILD')
-rw-r--r--main/libxau/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/libxau/APKBUILD b/main/libxau/APKBUILD
new file mode 100644
index 0000000000..c6b7990630
--- /dev/null
+++ b/main/libxau/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxau
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="X11 authorisation library"
+url="http://xorg.freedesktop.org/"
+license="custom"
+depends=
+makedepends="pkgconfig xproto"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://xorg.freedesktop.org/releases/individual/lib/libXau-$pkgver.tar.bz2"
+
+depends_dev="xproto"
+
+build() {
+ cd "$srcdir"/libXau-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1
+}
+md5sums="993b3185c629e4b89401fca072dcb663 libXau-1.0.5.tar.bz2"