swaylock: initial commit, version 1.5

This commit is contained in:
Tim Biermann 2021-09-19 19:27:54 +02:00
parent 76c2ffd436
commit a016897325
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 38 additions and 0 deletions

6
swaylock/.footprint Normal file
View File

@ -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

5
swaylock/.signature Normal file
View File

@ -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

27
swaylock/Pkgfile Normal file
View File

@ -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
}