From 5ac1f1fa950d944da70244e2bb228fda3ae70c16 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sun, 20 Nov 2022 12:57:57 -0600 Subject: [PATCH] Fix download link --- gocryptfs/lure.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gocryptfs/lure.sh b/gocryptfs/lure.sh index 8b958f0..f909548 100644 --- a/gocryptfs/lure.sh +++ b/gocryptfs/lure.sh @@ -6,8 +6,8 @@ homepage='https://github.com/rfjakob/gocryptfs/' architectures=('amd64') maintainer='SinTan1729' license=('MIT') -provides=('gocryptfs', 'gocryptfs-xray') -conflicts=('gocryptfs', 'gocryptfs-xray') +provides=('gocryptfs' 'gocryptfs-xray') +conflicts=('gocryptfs' 'gocryptfs-xray') git_repo="rfjakob/gocryptfs" sources=() @@ -20,11 +20,11 @@ version() { package() { vers="$(curl --silent "https://api.github.com/repos/${git_repo}/releases/latest" | grep -Eo '"tag_name": "v(.*)"' | sed -E 's/.*"([^"]+)".*/\1/')" echo Installing ${name} ${vers} - curl -L "https://github.com/${git_repo}/releases/download/${vers}/${name}_${vers}_linux-static_${architectures}.tar.gz" -o ${name}.tar.gz + curl -L "https://github.com/${git_repo}/releases/download/${vers}/${name}_${vers}_linux-static_${ARCH}.tar.gz" -o ${name}.tar.gz tar xzf "${name}.tar.gz" -C . install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}" install -Dm755 "./${name}-xray" "${pkgdir}/usr/local/bin/${name}-xray" install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1" install -Dm644 "./${name}-xray.1" "${pkgdir}/usr/local/share/man/man1/${name}-xray.1" } - \ No newline at end of file +