aboutsummaryrefslogtreecommitdiffstats
path: root/main/xauth/APKBUILD
blob: 68461e5dbf1759d97c51c12e27eb99144ce624d3 (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
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xauth
pkgver=1.0.10
pkgrel=1
pkgdesc="X.Org authorization settings program"
url="http://xorg.freedesktop.org/"
arch="all"
options="!check"  # Requires unpackaged, unmaintained 'cmdtest' package
license="custom"
depends=""
makedepends="libxau-dev libxext-dev libxmu-dev libx11-dev util-macros"
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/xauth-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"
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"