aboutsummaryrefslogtreecommitdiffstats
path: root/main/xrdb/APKBUILD
blob: 5ebb0231ddfea2085927263f05478fc95324fe50 (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
37
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xrdb
pkgver=1.1.1
pkgrel=0
pkgdesc="X server resource database utility"
url="http://xorg.freedesktop.org"
arch="all"
license="MIT"
options="!check"  # No test suite.
depends="mcpp"
depends_dev=""
makedepends="libxmu-dev libx11-dev util-macros"
install=""
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-cpp=/usr/bin/mcpp
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="20c342004ef911fc4d3ef4ac3ac15d1c30bb946b8156f3a6916c242e470be0cb63261563462fd1e2e07b1a7cc527b8cacf5f913e31b02196629a95043cf8d13f  xrdb-1.1.1.tar.bz2"