[arch-commits] Commit in cage/repos (2 files)
David Runge
dvzrv at archlinux.org
Wed Nov 11 10:02:42 UTC 2020
Date: Wednesday, November 11, 2020 @ 10:02:41
Author: dvzrv
Revision: 750006
archrelease: copy trunk to community-staging-x86_64
Added:
cage/repos/community-staging-x86_64/
cage/repos/community-staging-x86_64/PKGBUILD
(from rev 750005, cage/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: cage/repos/community-staging-x86_64/PKGBUILD (from rev 750005, cage/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-11 10:02:41 UTC (rev 750006)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+
+pkgname=cage
+pkgver=0.1.2.1
+pkgrel=2
+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 --prefix=/usr \
+ --libdir=lib \
+ --buildtype=release \
+ -Dxwayland=true \
+ build
+ ninja -C build
+}
+
+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