APKBUILD 631 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xrdb
Natanael Copa's avatar
Natanael Copa committed
3
pkgver=1.0.6
Natanael Copa's avatar
Natanael Copa committed
4 5 6 7 8
pkgrel=0
pkgdesc="X server resource database utility"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-doc"
Natanael Copa's avatar
Natanael Copa committed
9
depends=
Natanael Copa's avatar
Natanael Copa committed
10 11 12
makedepends="pkgconfig libxmu-dev libx11-dev"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

Natanael Copa's avatar
Natanael Copa committed
13
build () {
Natanael Copa's avatar
Natanael Copa committed
14 15 16
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr --mandir=/usr/share/man || return 1
	make || return 1
Natanael Copa's avatar
Natanael Copa committed
17 18 19 20
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
21 22
	make DESTDIR="$pkgdir" install || return 1
}
Natanael Copa's avatar
Natanael Copa committed
23
md5sums="8dd881cd5a7dcb6e456549817f0fb475  xrdb-1.0.6.tar.bz2"