summaryrefslogtreecommitdiffstats
path: root/main/xproto/APKBUILD
blob: 3b04b62b778d412d087080a1feecdfee39a909f7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xproto
pkgver=7.0.24
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 --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="9c0203c3bee4bac432ec504dc45712ed  xproto-7.0.24.tar.bz2"
sha256sums="3698a1c7e3b734bc1139a7eb694ed8c66188658d6b4dea3d567066fe4e88b2fc  xproto-7.0.24.tar.bz2"
sha512sums="c5b192c7c41e40fc5cd0b47cdb7d2b619f680fb004c296483a3a6493c4aeed2a3be5b6fb333e424679c6045d2a8aad61cce66a1cfe894cbed1c8c47932185ea9  xproto-7.0.24.tar.bz2"