[arch-commits] Commit in swayidle/repos (2 files)
Brett Cornwall
ainola at gemini.archlinux.org
Sat Feb 5 04:29:27 UTC 2022
Date: Saturday, February 5, 2022 @ 04:29:26
Author: ainola
Revision: 1126394
archrelease: copy trunk to community-testing-x86_64
Added:
swayidle/repos/community-testing-x86_64/
swayidle/repos/community-testing-x86_64/PKGBUILD
(from rev 1126393, swayidle/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: swayidle/repos/community-testing-x86_64/PKGBUILD (from rev 1126393, swayidle/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-02-05 04:29:26 UTC (rev 1126394)
@@ -0,0 +1,45 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: gilbus
+
+pkgname=swayidle
+pkgver=1.7.1
+pkgrel=2
+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"
+options=(debug)
+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