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

Brett Cornwall ainola at archlinux.org
Mon Mar 11 19:35:38 UTC 2019


    Date: Monday, March 11, 2019 @ 19:35:38
  Author: ainola
Revision: 439851

archrelease: copy trunk to community-x86_64

Added:
  swaylock/repos/community-x86_64/
  swaylock/repos/community-x86_64/PKGBUILD
    (from rev 439850, swaylock/trunk/PKGBUILD)

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

Copied: swaylock/repos/community-x86_64/PKGBUILD (from rev 439850, swaylock/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-03-11 19:35:38 UTC (rev 439851)
@@ -0,0 +1,43 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: gilbus
+
+pkgname=swaylock
+pkgver=1.3
+pkgrel=3
+license=("MIT")
+pkgdesc="Screen locker for Wayland"
+makedepends=(
+    'meson'
+    'scdoc'
+    'wayland-protocols'
+    'git'  # To make the version string
+)
+depends=(
+    'cairo'
+    'libxkbcommon'
+    'pam'
+    'wayland'
+    'gdk-pixbuf2'  # For images other than PNG
+)
+arch=('x86_64')
+url="https://github.com/swaywm/swaylock"
+source=(
+    "$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaylock/archive/$pkgver.tar.gz"
+    "https://github.com/swaywm/swaylock/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig"
+)
+sha256sums=('3bf4143136e688af2f31d10c0be26d14e371f31bfceec1d98db88abfe0f7a94c'
+            '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