[arch-commits] Commit in wayland/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon May 14 17:12:46 UTC 2018
Date: Monday, May 14, 2018 @ 17:12:44
Author: heftig
Revision: 324264
archrelease: copy trunk to testing-x86_64
Added:
wayland/repos/testing-x86_64/
wayland/repos/testing-x86_64/PKGBUILD
(from rev 324263, wayland/trunk/PKGBUILD)
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
Copied: wayland/repos/testing-x86_64/PKGBUILD (from rev 324263, wayland/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-05-14 17:12:44 UTC (rev 324264)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Joel Teichroeb <joel at teichroeb.net>
+
+pkgbase=wayland
+pkgname=(wayland wayland-docs)
+pkgver=1.15.0
+pkgrel=1
+pkgdesc='A computer display server protocol'
+arch=('x86_64')
+url='https://wayland.freedesktop.org/'
+license=('MIT')
+depends=('glibc' 'libffi' 'expat' 'libxml2')
+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=('374e07b4f3b7fdfa7c4206cdd48224ea00d69d68'
+ 'SKIP')
+
+prepare() {
+ cd $pkgbase-$pkgver
+}
+
+build() {
+ cd $pkgbase-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+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"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list