aboutsummaryrefslogtreecommitdiffstats
path: root/main/randrproto/APKBUILD
blob: 540b34f788c9ba5a68ce5674328f08e49ee17dab (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=randrproto
pkgver=1.5.0
pkgrel=2
pkgdesc="X11 RandR extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
depends=""
makedepends="util-macros"
options="!check"  # No test suite
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -d -m755 "$pkgdir"/usr/share/licenses/$pkgname
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="a46765c8dcacb7114c821baf0df1e797  randrproto-1.5.0.tar.bz2"
sha256sums="4c675533e79cd730997d232c8894b6692174dce58d3e207021b8f860be498468  randrproto-1.5.0.tar.bz2"
sha512sums="5c56f6acfe3a9da5ffda45e4af2da5081a5116d53f4d2dafe399eae168656727927ca0fb4c29fc6583e87709ac83b025ae206fba9356ebf9e26d3ff545da57f4  randrproto-1.5.0.tar.bz2"