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

Brett Cornwall ainola at gemini.archlinux.org
Sat Jan 15 18:20:59 UTC 2022


    Date: Saturday, January 15, 2022 @ 18:20:58
  Author: ainola
Revision: 1104536

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: swayidle/repos/community-staging-x86_64/PKGBUILD (from rev 1104535, swayidle/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-01-15 18:20:58 UTC (rev 1104536)
@@ -0,0 +1,44 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: gilbus
+
+pkgname=swayidle
+pkgver=1.7.1
+pkgrel=1
+license=('MIT')
+pkgdesc="Idle management daemon for Wayland"
+makedepends=(
+    'meson'
+    'scdoc'
+    'wayland-protocols'
+)
+depends=(
+    'wayland'
+    'systemd'
+)
+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=('6aa07093be553473726e1ef601dbc5e57a3ea2ac864ef2d7afce1f971ea760a6'
+            'SKIP')
+validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48'  # Simon Ser
+              '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault
+
+build() {
+    meson "$pkgname-$pkgver" build \
+        --prefix /usr \
+        --buildtype=plain \
+        -Dlogind=enabled \
+        -Dman-pages=enabled \
+        -Dlogind-provider=systemd
+    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