[arch-commits] Commit in swaylock/repos (2 files)
Brett Cornwall
ainola at archlinux.org
Wed Jan 22 19:59:44 UTC 2020
Date: Wednesday, January 22, 2020 @ 19:59:44
Author: ainola
Revision: 554481
archrelease: copy trunk to community-staging-x86_64
Added:
swaylock/repos/community-staging-x86_64/
swaylock/repos/community-staging-x86_64/PKGBUILD
(from rev 554480, swaylock/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: swaylock/repos/community-staging-x86_64/PKGBUILD (from rev 554480, swaylock/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-01-22 19:59:44 UTC (rev 554481)
@@ -0,0 +1,43 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: gilbus
+
+pkgname=swaylock
+pkgver=1.5
+pkgrel=1
+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=('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