summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-02-21 21:15:16 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-02-21 21:15:16 (GMT)
commit159ec56555c1150f510fd4742ed328cca781bf29 (patch)
treebeb1fc19909348cfb401652de2bb1d6ab6597d40 /abs
parent750adf29a2ca422d1d09b503830616e2c9594876 (diff)
downloadlinhes_pkgbuild-159ec56555c1150f510fd4742ed328cca781bf29.zip
linhes_pkgbuild-159ec56555c1150f510fd4742ed328cca781bf29.tar.gz
linhes_pkgbuild-159ec56555c1150f510fd4742ed328cca781bf29.tar.bz2
wayland: update to 1.16
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/wayland/PKGBUILD47
1 files changed, 37 insertions, 10 deletions
diff --git a/abs/extra/wayland/PKGBUILD b/abs/extra/wayland/PKGBUILD
index 48713fd..b5a7bcf 100644
--- a/abs/extra/wayland/PKGBUILD
+++ b/abs/extra/wayland/PKGBUILD
@@ -1,35 +1,62 @@
-# $Id$
# Maintainer: Tom Gundersen <teg@jklm.no>
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributor: Joel Teichroeb <joel@teichroeb.net>
-pkgname=wayland
-pkgver=1.14.0
+pkgbase=wayland
+pkgname=(wayland wayland-docs)
+pkgver=1.16.0
pkgrel=1
pkgdesc='A computer display server protocol'
arch=('x86_64')
url='https://wayland.freedesktop.org/'
license=('MIT')
depends=('glibc' 'libffi' 'expat' 'libxml2')
-validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611') # Bryce Harrington
-source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig})
-sha1sums=('53a443be3bafe73209bbc49ef2cb134ed16e0141'
+makedepends=('libxslt' 'doxygen' 'xmlto' 'graphviz' 'docbook-xsl')
+validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
+ 'C0066D7DB8E9AC6844D728715E54498E697F11D7') # Derek Foreman
+source=("https://wayland.freedesktop.org/releases/$pkgbase-$pkgver.tar.xz"{,.sig})
+sha1sums=('24c63a5045c653dcfa24efd10fa7c7de89aca9ef'
'SKIP')
+prepare() {
+ cd $pkgbase-$pkgver
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgbase-$pkgver
./configure \
--prefix=/usr \
- --disable-documentation \
--disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
-package() {
- cd $pkgname-$pkgver
+check() {
+ cd $pkgbase-$pkgver
+
+ make check
+}
+
+package_wayland() {
+ cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install
+
+ mkdir -p "$srcdir/docs/share"
+ mv "$pkgdir"/usr/share/{doc,man} "$srcdir/docs/share"
+
+ install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+package_wayland-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+
+ cd $pkgbase-$pkgver
+
+ mv "$srcdir/docs" "$pkgdir/usr"
+
install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}