aboutsummaryrefslogtreecommitdiffstats
path: root/main/randrproto/APKBUILD
blob: 9790ef7695426a52e5fb7b60e353d6fc447d5b75 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=randrproto
pkgver=1.5.0
pkgrel=1
pkgdesc="X11 RandR extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
}

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	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"