summaryrefslogtreecommitdiffstats
path: root/main/xproto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xproto/APKBUILD')
-rw-r--r--main/xproto/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/xproto/APKBUILD b/main/xproto/APKBUILD
index 87f6c66d2..8a64be347 100644
--- a/main/xproto/APKBUILD
+++ b/main/xproto/APKBUILD
@@ -1,21 +1,28 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xproto
-pkgver=7.0.16
+pkgver=7.0.18
pkgrel=0
pkgdesc="X11 core wire protocol and auxiliary headers"
url="http://xorg.freedesktop.org/"
license="custom"
depends=""
makedepends=""
+subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir"/$pkgname-$pkgver
+
build ()
{
- cd "$srcdir"/$pkgname-$pkgver
+ 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="75c9edff1f3823e5ab6bb9e66821a901 xproto-7.0.16.tar.bz2"
+md5sums="6b8a34b274c6fceaffe57c579db826b9 xproto-7.0.18.tar.bz2"