[arch-commits] Commit in (4 files)

Brett Cornwall ainola at archlinux.org
Mon Mar 11 20:01:41 UTC 2019


    Date: Monday, March 11, 2019 @ 20:01:41
  Author: ainola
Revision: 439866

Include swayidle, necessary for sway

Added:
  swayidle/
  swayidle/repos/
  swayidle/trunk/
  swayidle/trunk/PKGBUILD

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

Added: swayidle/trunk/PKGBUILD
===================================================================
--- swayidle/trunk/PKGBUILD	                        (rev 0)
+++ swayidle/trunk/PKGBUILD	2019-03-11 20:01:41 UTC (rev 439866)
@@ -0,0 +1,40 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: gilbus
+
+pkgname=swayidle
+pkgver=1.2
+pkgrel=2
+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=('d65533d6f1fd9b105fa3e2c26d593e12fbfb5b24f48af446707d605cd817c758'
+            '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/docs/$pkgname"
+}
+


More information about the arch-commits mailing list