Date: Friday, April 16, 2021 @ 13:20:29
  Author: dvzrv
Revision: 919409

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: cage/repos/community-staging-x86_64/PKGBUILD (from rev 919408, 
cage/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-16 13:20:29 UTC (rev 919409)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <[email protected]>
+# Maintainer: Brett Cornwall <[email protected]>
+
+pkgname=cage
+pkgver=0.1.3
+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 
<[email protected]>
+
+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}"
+}

Reply via email to