This repository was archived by the owner on Oct 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-28
lines changed
packages/aur/fancylock-bin Expand file tree Collapse file tree 2 files changed +21
-28
lines changed Original file line number Diff line number Diff line change 11pkgbase = fancylock-bin
2- pkgdesc = A media-playing screen locker (precompiled binary)
3- pkgver = @VERSION@
4- pkgrel = 1
5- url = https://github.com/tuxx/fancylock
6- arch = x86_64
7- license = MIT
8- depends = mpv
9- depends = pam
10- conflicts = fancylock
11- provides = fancylock
12- source = https://github.com/tuxx/fancylock/releases/download/v@VERSION@/fancylock-linux-amd64.tar.gz
13- sha256sums = SKIP
14- options = !debug
2+ pkgdesc = A media-playing screen locker (precompiled binary)
3+ pkgver = @VERSION@
4+ pkgrel = 1
5+ url = https://github.com/tuxx/fancylock
6+ arch = x86_64
7+ license = MIT
8+ depends = mpv
9+ depends = pam
10+ conflicts = fancylock
11+ provides = fancylock
12+ source = https://github.com/tuxx/fancylock/releases/download/v@VERSION@/fancylock-linux-amd64.tar.gz
13+ source = https://raw.githubusercontent.com/tuxx/fancylock/refs/heads/master/pam.d/fancylock
14+ sha256sums = SKIP
15+ sha256sums = SKIP
16+ options = !debug
1517
1618pkgname = fancylock-bin
Original file line number Diff line number Diff line change @@ -8,22 +8,13 @@ depends=('mpv' 'pam')
88provides=('fancylock')
99options=('!debug')
1010conflicts=('fancylock')
11- source=("https://github.com/tuxx/fancylock/releases/download/v${pkgver}/fancylock-linux-amd64.tar.gz")
12- sha256sums=('SKIP')
11+ source=(
12+ "https://github.com/tuxx/fancylock/releases/download/v${pkgver}/fancylock-linux-amd64.tar.gz"
13+ "https://raw.githubusercontent.com/tuxx/fancylock/refs/heads/master/pam.d/fancylock"
14+ )
15+ sha256sums=('SKIP' 'SKIP')
1316
1417package() {
1518 install -Dm755 fancylock-linux-amd64 "$pkgdir/usr/bin/fancylock"
16- if [ ! -f /etc/pam.d/fancylock ]; then
17- install -d "$pkgdir/etc/pam.d"
18- cat > "$pkgdir/etc/pam.d/fancylock" <<EOF
19- #%PAM-1.0
20- # /etc/pam.d/fancylock - PAM configuration for fancylock screen locker
21- auth required pam_env.so
22- auth required pam_unix.so try_first_pass
23- account required pam_nologin.so
24- account required pam_unix.so
25- session required pam_limits.so
26- session required pam_unix.so
27- EOF
28- fi
19+ install -Dm644 fancylock "$pkgdir/etc/pam.d/fancylock"
2920}
You can’t perform that action at this time.
0 commit comments