summaryrefslogtreecommitdiff
path: root/swaylock
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-09-19 19:27:54 +0200
committerTim Biermann <tbier@posteo.de>2021-09-19 19:27:54 +0200
commita0168973251dd0a5198f0fdd6ecf3e2e1634bc65 (patch)
treece6083a6d0eac6c4678912a553811925a632a3ab /swaylock
parent76c2ffd436374541b5c87ae10fe02e22196453d6 (diff)
downloadcontrib-a0168973251dd0a5198f0fdd6ecf3e2e1634bc65.tar.gz
contrib-a0168973251dd0a5198f0fdd6ecf3e2e1634bc65.tar.xz
swaylock: initial commit, version 1.5
Diffstat (limited to 'swaylock')
-rw-r--r--swaylock/.footprint6
-rw-r--r--swaylock/.signature5
-rw-r--r--swaylock/Pkgfile27
3 files changed, 38 insertions, 0 deletions
diff --git a/swaylock/.footprint b/swaylock/.footprint
new file mode 100644
index 000000000..185cc8108
--- /dev/null
+++ b/swaylock/.footprint
@@ -0,0 +1,6 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/pam.d/
+-rw-r--r-- root/root etc/pam.d/swaylock
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/swaylock
diff --git a/swaylock/.signature b/swaylock/.signature
new file mode 100644
index 000000000..47d057d44
--- /dev/null
+++ b/swaylock/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3wX9rzBu1lhmoOhEAElsdZJ0fSHr8hMkyvyfAy2hOUtLOAST/S8LfZg28Tf/YuLl+FCsJxDFvfrBJv62nwUp6Ag=
+SHA256 (Pkgfile) = 68e9792a5419878e38d80ddb43b1d9e11291042fcc84bd9a872e23a90fc2700d
+SHA256 (.footprint) = 887b16eb7cf8c6d01c700173763436b6b5b29c906523e5d1d0e7ad06a51be071
+SHA256 (swaylock-1.5.tar.gz) = 37b9c70e5698e8872b0b964a7454ecdb0f1a9e06b686eecf2b6c54f7f64a3f42
diff --git a/swaylock/Pkgfile b/swaylock/Pkgfile
new file mode 100644
index 000000000..3d0ff4267
--- /dev/null
+++ b/swaylock/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Screen locker for Wayland
+# URL: https://github.com/swaywm/swaylock
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: cairo libxkbcommon wayland-protocols
+# Optional: gdk-pixbuf scdoc
+
+name=swaylock
+version=1.5
+release=1
+source=(https://github.com/swaywm/swaylock/archive/$version/$name-$version.tar.gz)
+
+build() {
+ prt-get isinst bash-completion || PKGMK_SWAYLOCK+=' -D bash-completions=false'
+ prt-get isinst zsh || PKGMK_SWAYLOCK+=' -D zsh-completions=false'
+
+ CFLAGS+=' -Wno-error' \
+ meson setup $name-$version build $PKGMK_SWAYLOCK \
+ --prefix=/usr \
+ --buildtype=plain \
+ --wrap-mode nodownload \
+ -D b_lto=true \
+ -D b_pie=true \
+ -D pam=enabled \
+ -D fish-completions=false
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+}

Generated by cgit