aboutsummaryrefslogtreecommitdiffstats
path: root/main/xrdb/APKBUILD
blob: 444b41281df55f8b96496bebf0089d981c2ca035 (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
38
39
# 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.0
pkgrel=1
pkgdesc="X server resource database utility"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends="mcpp"
depends_dev=""
makedepends="libxmu-dev libx11-dev"
install=""
subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="b54c7e3e53b4f332d41ed435433fbda0  xrdb-1.1.0.tar.bz2"
sha256sums="73827b6bbfc9d27ca287d95a1224c306d7053cd7b8156641698d7dc541ca565b  xrdb-1.1.0.tar.bz2"
sha512sums="8e2a177653d5aa895c71ed3640e0f1dd9fe8bf5cd6f0c6ff7e372394a2a41c3aa2286905fd9c69e3d140024d235b81a1f32b5d4012b1ac5ac1ed945599dee407  xrdb-1.1.0.tar.bz2"