aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86miscproto/APKBUILD
blob: 989a47c08ea71e5f112e8c85a3c8791e95c7d1fa (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86miscproto
pkgver=0.9.3
pkgrel=4
pkgdesc="X11 XFree86-Miscellaneous extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
options="!check"  # No test suite.
depends=""
makedepends=""
source="http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	update_config_sub
}

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="b82370ee3aff3ee13c15ce645a74e6d927df0a2db01830a21fea4c36445495849d24410639525f02f369aabe8e1b6e6ab9acbfd3a41cb3cd7e6060a9c8ae320d  xf86miscproto-0.9.3.tar.bz2"