aboutsummaryrefslogtreecommitdiffstats
path: root/main/xrandr/APKBUILD
blob: 517cc3df90afd170e22b0521fa6526941a0ffa8d (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
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xrandr
pkgver=1.5.0
pkgrel=1
pkgdesc="Command line interface to RandR extension"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="libxrandr-dev util-macros"
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
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/bin/xkeystone
}

md5sums="ebffac98021b8f1dc71da0c1918e9b57  xrandr-1.5.0.tar.bz2"
sha256sums="c1cfd4e1d4d708c031d60801e527abc9b6d34b85f2ffa2cadd21f75ff38151cd  xrandr-1.5.0.tar.bz2"
sha512sums="11d8fb1b98fbe215555d5bb875d82f80a7fd6a61c93ebf175c226f4f747570e8d18980add54a4b88d20dc637155074b2a558b34f035d66a465f324281d65f9e4  xrandr-1.5.0.tar.bz2"