aboutsummaryrefslogtreecommitdiffstats
path: root/main/presentproto/APKBUILD
blob: 4ff8ca755c3eaade0f5ea070bdf4ff219328421c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=presentproto
pkgver=1.0
pkgrel=0
pkgdesc="Present protocol specification and Xlib/Xserver headers"
url="http://xorg.freedesktop.org/"
arch="noarch"
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 "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="2d569c75884455c7148d133d341e8fd6  presentproto-1.0.tar.bz2"
sha256sums="812c7d48721f909a0f7a2cb1e91f6eead76159a36c4712f4579ca587552839ce  presentproto-1.0.tar.bz2"
sha512sums="6d6b3cb78ff7c6ad8103d0003479f94702aea412640feec5d82cb630c9560fd0e1f7b6124e9eaba138adc9bf61ee08ef193537c2754c9b79737ef871c5114c59  presentproto-1.0.tar.bz2"