aboutsummaryrefslogtreecommitdiffstats
path: root/main/xproto/APKBUILD
blob: bae805b7f52bf053a9e47ee94898fce29723ad17 (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.26
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="4dc2464bfeade23dab5de38da0f6b1b5  xproto-7.0.26.tar.bz2"
sha256sums="636162c1759805a5a0114a369dffdeccb8af8c859ef6e1445f26a4e6e046514f  xproto-7.0.26.tar.bz2"
sha512sums="b39edcb7f8a6898e78dae62b80cfb1db3175272dbfb7a3929f51c2fd829b648d80a9654246e4294a708f0e23cfe1bf84934cde25e193916d99630d8f157a04ea  xproto-7.0.26.tar.bz2"