[arch-commits] Commit in swayidle/repos (community-x86_64 community-x86_64/PKGBUILD)

Brett Cornwall ainola at archlinux.org
Mon Mar 11 20:02:31 UTC 2019


    Date: Monday, March 11, 2019 @ 20:02:30
  Author: ainola
Revision: 439867

archrelease: copy trunk to community-x86_64

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

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

Copied: swayidle/repos/community-x86_64/PKGBUILD (from rev 439866, swayidle/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-03-11 20:02:30 UTC (rev 439867)
@@ -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