aboutsummaryrefslogtreecommitdiffstats
path: root/main/xauth/APKBUILD
blob: ef65e9f1e1e7ecaa008fcb0e342d3bc069dc188c (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
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xauth
pkgver=1.0.9
pkgrel=0
pkgdesc="X.Org authorization settings program"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=""
makedepends="libxau-dev libxext-dev libxmu-dev libx11-dev"
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 \
		|| return 1
	make || return 1
}

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

md5sums="7d6003f32838d5b688e2c8a131083271  xauth-1.0.9.tar.bz2"
sha256sums="56ce1523eb48b1f8a4f4244fe1c3d8e6af1a3b7d4b0e6063582421b0b68dc28f  xauth-1.0.9.tar.bz2"
sha512sums="e7b8e950a3e9e36131041692a22b2390c75df94fa8b5f4ea2ef2d79778e000865b1b0ec5930612dedb782d451022ee52c7c9a404d249809adb4b905b66f44d0b  xauth-1.0.9.tar.bz2"