summaryrefslogtreecommitdiffstats
path: root/x11/xrandr/APKBUILD
blob: d78a429d175b75f5219bab7270107c9629f0dc4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xrandr
pkgver=1.3.0
pkgrel=0
pkgdesc="primitive command line interface to RandR extension"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-doc"
depends="libxrandr libx11 uclibc"
makedepends="pkgconfig libxrandr-dev libxrender-dev libx11-dev"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2
	$pkgname-1.3.0-clone-nameclash.patch"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	patch -p1 < ../$pkgname-1.3.0-clone-nameclash.patch || return 1
	./configure --prefix=/usr --mandir=/usr/share/man || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="616612a15711a4422e71be6acc42ca3c  xrandr-1.3.0.tar.bz2
b938aad95a5ea71bce7a2529fd8f6866  xrandr-1.3.0-clone-nameclash.patch"