summaryrefslogtreecommitdiffstats
path: root/main/xauth/APKBUILD
blob: cf3696dd25beb56f6d26361c8d8fe2ad931278ce (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xauth
pkgver=1.0.4
pkgrel=2
pkgdesc="X.Org authorization settings program"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
makedepends="pkgconfig libxau-dev libxext-dev libxmu-dev libx11-dev"
source="http://xorg.freedesktop.org/releases/individual/app/xauth-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/xauth-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/xauth-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="fa00078c414c4a57cab7a6d89a0c8734  xauth-1.0.4.tar.bz2"