summaryrefslogtreecommitdiff
path: root/user/xrandr/APKBUILD
blob: 44137b5bd79eaa056886861969c96e7bdf86ff6d (plain) (blame)
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
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=xrandr
pkgver=1.5.0
pkgrel=1
pkgdesc="Command line interface to X RandR extension"
url="https://www.X.Org/"
arch="all"
options="!check"  # No test suite.
license="MIT"
subpackages="$pkgname-doc"
depends=""
makedepends="libxrandr-dev util-macros"
source="https://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
}

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

sha512sums="11d8fb1b98fbe215555d5bb875d82f80a7fd6a61c93ebf175c226f4f747570e8d18980add54a4b88d20dc637155074b2a558b34f035d66a465f324281d65f9e4  xrandr-1.5.0.tar.bz2"