summaryrefslogtreecommitdiff
path: root/user/xauth/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xauth/APKBUILD')
-rw-r--r--user/xauth/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/xauth/APKBUILD b/user/xauth/APKBUILD
new file mode 100644
index 000000000..08542ea77
--- /dev/null
+++ b/user/xauth/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xauth
+pkgver=1.0.10
+pkgrel=2
+pkgdesc="X.Org authorisation settings program"
+url="https://www.X.Org/"
+arch="all"
+options="!check" # Requires unpackaged, unmaintained 'cmdtest' package
+license="X11"
+depends=""
+makedepends="libx11-dev libxau-dev libxext-dev libxmu-dev util-macros"
+subpackages="$pkgname-doc"
+source="https://www.X.Org/releases/individual/app/xauth-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="1ddcd80848c4efffc6d0a576177f92a3ce47eb871a6c7e2097d96491aec027404d437e0bd792714ef423989153a9644f5ff179bde4dfeb4b340636d642d5849f xauth-1.0.10.tar.bz2"