aboutsummaryrefslogtreecommitdiffstats
path: root/main/xproto/APKBUILD
blob: 3031baa8c05940a277fae11a446ef12072731e4b (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=xproto
pkgver=7.0.28
pkgrel=0
pkgdesc="X11 core wire protocol and auxiliary headers"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
depends=""
makedepends=""
# only headers here so no need for subpkgs
#subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

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

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="3ce2f230c5d8fa929f326ad1f0fa40a8  xproto-7.0.28.tar.bz2"
sha256sums="29e85568d1f68ceef8a2c081dad9bc0e5500a53cfffde24b564dc43d46ddf6ca  xproto-7.0.28.tar.bz2"
sha512sums="8cc9f94380211ba319ceaaf4d2556e2fa5eb1c784369c0c4441604c84b9a6e841516e438228eba5c4f342199ff88d8f4f0887ef112247165e69f962ffcb62f84  xproto-7.0.28.tar.bz2"