[arch-commits] Commit in swayidle/repos (2 files)

Brett Cornwall ainola at archlinux.org
Wed Jan 22 20:00:07 UTC 2020


    Date: Wednesday, January 22, 2020 @ 20:00:07
  Author: ainola
Revision: 554483

archrelease: copy trunk to community-staging-x86_64

Added:
  swayidle/repos/community-staging-x86_64/
  swayidle/repos/community-staging-x86_64/PKGBUILD
    (from rev 554482, swayidle/trunk/PKGBUILD)

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

Copied: swayidle/repos/community-staging-x86_64/PKGBUILD (from rev 554482, swayidle/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-01-22 20:00:07 UTC (rev 554483)
@@ -0,0 +1,40 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: gilbus
+
+pkgname=swayidle
+pkgver=1.6
+pkgrel=1
+license=('MIT')
+pkgdesc="Idle management daemon for Wayland"
+makedepends=(
+    'meson'
+    'scdoc'
+    'wayland-protocols'
+)
+depends=(
+    'wayland'
+    'systemd-libs'
+)
+arch=('x86_64')
+url="https://github.com/swaywm/swayidle"
+source=(
+    "$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swayidle/archive/$pkgver.tar.gz"
+    "https://github.com/swaywm/swayidle/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig"
+)
+sha256sums=('efb2f0878531ea5be0744063e6e31762a16b4ee3cfb22dbade49795fa53b130c'
+            'SKIP')
+validpgpkeys=("9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A") # Drew DeVault
+
+build() {
+    meson "$pkgname-$pkgver" build \
+        --prefix /usr \
+        --buildtype=plain
+    ninja -C build
+}
+
+package() {
+    DESTDIR="$pkgdir/" ninja -C build install
+    install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
+    install -Dm644 "$pkgname-$pkgver/README.md" -t "$pkgdir/usr/share/doc/$pkgname"
+}
+



More information about the arch-commits mailing list