[arch-commits] Commit in cage/repos (2 files)

Brett Cornwall ainola at archlinux.org
Sun Jun 27 20:59:15 UTC 2021


    Date: Sunday, June 27, 2021 @ 20:59:13
  Author: ainola
Revision: 967613

archrelease: copy trunk to community-staging-x86_64

Added:
  cage/repos/community-staging-x86_64/
  cage/repos/community-staging-x86_64/PKGBUILD
    (from rev 967612, cage/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: cage/repos/community-staging-x86_64/PKGBUILD (from rev 967612, cage/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-06-27 20:59:13 UTC (rev 967613)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+
+pkgname=cage
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="A kiosk compositor for Wayland"
+arch=('x86_64')
+url="https://www.hjdskes.nl/projects/cage/"
+license=('MIT')
+depends=('glibc' 'polkit' 'wayland')
+makedepends=('git' 'libxkbcommon' 'meson' 'pixman' 'scdoc' 'wayland-protocols'
+'wlroots' 'xorg-server-xwayland')
+optdepends=('xorg-server-xwayland: X11 support')
+source=("${pkgname}::git+https://github.com/Hjdskes/${pkgname}.git#tag=v${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=('13B6A35E9FD677D02CD68DBE37C445296EBC43B1') # Jente Hidskes <dev at hjdskes.nl>
+
+build() {
+  cd "$pkgname"
+  arch-meson -Dxwayland=true \
+             build
+  ninja -C build
+}
+
+check() {
+  cd "$pkgname"
+  ninja -C build test
+}
+
+package() {
+  depends+=('libwlroots.so' 'libxkbcommon.so' 'libpixman-1.so')
+  cd "$pkgname"
+  DESTDIR="${pkgdir}" meson install -C build
+  #docs
+  install -vDm 644 README.md \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE \
+    -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}




More information about the arch-commits mailing list