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 +9
-2
lines changed
packages/aur/fancylock-bin Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ pkgbase = fancylock-bin
99 depends = pam
1010 conflicts = fancylock
1111 provides = fancylock
12- source = https://github.com/tuxx/fancylock/releases/download/v@VERSION@/fancylock-linux-amd64.tar.gz
12+ source =
fancylock-bin-@[email protected] :: https://github.com/tuxx/fancylock/releases/download/v@VERSION@/fancylock-linux-amd64.tar.gz
1313 source = https://raw.githubusercontent.com/tuxx/fancylock/refs/heads/master/pam.d/fancylock
1414 sha256sums = SKIP
1515 sha256sums = SKIP
Original file line number Diff line number Diff line change @@ -8,12 +8,19 @@ depends=('mpv' 'pam')
88provides=('fancylock')
99options=('!debug')
1010conflicts=('fancylock')
11+
1112source=(
12- "https://github.com/tuxx/fancylock/releases/download/v${pkgver}/fancylock-linux-amd64.tar.gz"
13+ "${pkgname}-${pkgver}.tar.gz:: https://github.com/tuxx/fancylock/releases/download/v${pkgver}/fancylock-linux-amd64.tar.gz"
1314 "https://raw.githubusercontent.com/tuxx/fancylock/refs/heads/master/pam.d/fancylock"
1415)
16+
1517sha256sums=('SKIP' 'SKIP')
1618
19+ prepare() {
20+ # Remove any old cached tarball with a generic name that could be outdated
21+ rm -f "${srcdir}/fancylock-linux-amd64.tar.gz"
22+ }
23+
1724package() {
1825 install -Dm755 fancylock-linux-amd64 "$pkgdir/usr/bin/fancylock"
1926 install -Dm644 fancylock "$pkgdir/etc/pam.d/fancylock"
You can’t perform that action at this time.
0 commit comments