[arch-commits] Commit in wayland/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Apr 8 16:40:05 UTC 2020
Date: Wednesday, April 8, 2020 @ 16:40:04
Author: felixonmars
Revision: 379852
archrelease: copy trunk to staging-x86_64
Added:
wayland/repos/staging-x86_64/
wayland/repos/staging-x86_64/PKGBUILD
(from rev 379851, wayland/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: wayland/repos/staging-x86_64/PKGBUILD (from rev 379851, wayland/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-04-08 16:40:04 UTC (rev 379852)
@@ -0,0 +1,46 @@
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Joel Teichroeb <joel at teichroeb.net>
+
+pkgbase=wayland
+pkgname=(wayland wayland-docs)
+pkgver=1.18.0
+pkgrel=2
+pkgdesc='A computer display server protocol'
+arch=('x86_64')
+url='https://wayland.freedesktop.org/'
+license=('MIT')
+depends=('glibc' 'libffi' 'expat' 'libxml2')
+makedepends=('meson' 'ninja' 'libxslt' 'doxygen' 'xmlto' 'graphviz' 'docbook-xsl')
+validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
+ 'C0066D7DB8E9AC6844D728715E54498E697F11D7' # Derek Foreman
+ '34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact at emersion.fr>
+source=("https://wayland.freedesktop.org/releases/$pkgbase-$pkgver.tar.xz"{,.sig})
+sha256sums=('4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d'
+ 'SKIP')
+
+build() {
+ meson build $pkgbase-$pkgver --buildtype=release --prefix=/usr
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package_wayland() {
+ DESTDIR="$pkgdir" ninja -C build install
+ mkdir -p docs/share
+ mv "$pkgdir"/usr/share/{doc,man} docs/share
+ install -Dm 644 $pkgbase-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+package_wayland-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+
+ mv docs "$pkgdir/usr"
+ install -Dm 644 $pkgbase-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list