aboutsummaryrefslogtreecommitdiffstats
path: root/community/xauth/APKBUILD
blob: bae8dbe422872bea9d987ab6dc6b64511cc2afa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xauth
pkgver=1.1.3
pkgrel=0
pkgdesc="X.Org authorization settings program"
url="https://xorg.freedesktop.org/"
arch="all"
options="!check"  # Requires unpackaged, unmaintained 'cmdtest' package
license="custom"
makedepends="libxau-dev libxext-dev libxmu-dev libx11-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xauth-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="
536434f6c607673c00b9658ea591bf32419cc151d138f991ea38167220563519a6a84a5504003da15820f2a7ed50ea2449c6ce9c991d1446ee9a7305c647d694  xauth-1.1.3.tar.xz
"