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

Brett Cornwall ainola at gemini.archlinux.org
Sat Feb 5 04:30:59 UTC 2022


    Date: Saturday, February 5, 2022 @ 04:30:59
  Author: ainola
Revision: 1126396

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: swaylock/repos/community-testing-x86_64/PKGBUILD (from rev 1126395, swaylock/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-02-05 04:30:59 UTC (rev 1126396)
@@ -0,0 +1,44 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: gilbus
+
+pkgname=swaylock
+pkgver=1.5
+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"
+options=(debug)
+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=('37b9c70e5698e8872b0b964a7454ecdb0f1a9e06b686eecf2b6c54f7f64a3f42'
+            '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/doc/$pkgname"
+}



More information about the arch-commits mailing list