[arch-commits] Commit in kanshi/repos (2 files)
Brett Cornwall
ainola at archlinux.org
Thu Oct 31 19:12:05 UTC 2019
Date: Thursday, October 31, 2019 @ 19:12:05
Author: ainola
Revision: 521689
archrelease: copy trunk to community-staging-x86_64
Added:
kanshi/repos/community-staging-x86_64/
kanshi/repos/community-staging-x86_64/PKGBUILD
(from rev 521688, kanshi/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: kanshi/repos/community-staging-x86_64/PKGBUILD (from rev 521688, kanshi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-31 19:12:05 UTC (rev 521689)
@@ -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