[arch-commits] Commit in (kanshi kanshi/repos kanshi/trunk kanshi/trunk/PKGBUILD)

Brett Cornwall ainola at archlinux.org
Thu Oct 31 19:10:36 UTC 2019


    Date: Thursday, October 31, 2019 @ 19:10:35
  Author: ainola
Revision: 521688

Import Kanshi from AUR

While not at the typical 10 vote minimum, this tool provides monitor management
functionality in Wayland that no other can at the moment.

Added:
  kanshi/
  kanshi/repos/
  kanshi/trunk/
  kanshi/trunk/PKGBUILD

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

Added: kanshi/trunk/PKGBUILD
===================================================================
--- kanshi/trunk/PKGBUILD	                        (rev 0)
+++ kanshi/trunk/PKGBUILD	2019-10-31 19:10:35 UTC (rev 521688)
@@ -0,0 +1,34 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Antoine Damhet
+
+pkgname=kanshi
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Dynamic output configuration for Wayland WMs'
+arch=(x86_64)
+url="https://wayland.emersion.fr/kanshi/"
+license=('MIT')
+makedepends=('meson' 'scdoc')
+depends=('wayland')
+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=('90b200107b32b72259d60bfc08b12c782b13e706b7e617d058df292506fdbf90'
+            '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