[arch-commits] Commit in kanshi/repos (2 files)
Brett Cornwall
ainola at gemini.archlinux.org
Sat Feb 5 04:17:06 UTC 2022
Date: Saturday, February 5, 2022 @ 04:17:06
Author: ainola
Revision: 1126379
archrelease: copy trunk to community-testing-x86_64
Added:
kanshi/repos/community-testing-x86_64/
kanshi/repos/community-testing-x86_64/PKGBUILD
(from rev 1126378, kanshi/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: kanshi/repos/community-testing-x86_64/PKGBUILD (from rev 1126378, kanshi/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-02-05 04:17:06 UTC (rev 1126379)
@@ -0,0 +1,35 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Antoine Damhet
+
+pkgname=kanshi
+pkgver=1.2.0
+pkgrel=3
+pkgdesc='Dynamic output configuration for Wayland WMs'
+arch=(x86_64)
+url="https://wayland.emersion.fr/kanshi/"
+license=('MIT')
+makedepends=('meson' 'scdoc')
+depends=('wayland')
+options=(debug)
+source=(
+ "https://github.com/emersion/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ "https://github.com/emersion/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig"
+)
+sha256sums=('144428b9e79209b853c4b38a5efb6f16d581a2b9cb96e419b3b0a0f5914bcad4'
+ 'SKIP')
+validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # Simon Ser (emersion)
+
+build() {
+ meson --prefix=/usr \
+ --buildtype=plain \
+ -Dman-pages=enabled \
+ "${pkgname}-${pkgver}" build
+ ninja -C build
+}
+
+package() {
+ DESTDIR="${pkgdir}" ninja -C build install
+ cd "$pkgname-$pkgver"
+ install -Dm0644 "LICENSE" -t "${pkgdir}/usr/share/licenses/$pkgname/"
+ install -Dm0644 "README.md" -t "$pkgdir/usr/share/doc/$pkgname/"
+}
More information about the arch-commits
mailing list