From 7a2bc573ebc9851ffb87974d35f768a9492da97b Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Mon, 6 Mar 2023 10:12:51 -0600 Subject: [PATCH] Added vuetorrent --- vuetorrent/lure.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 vuetorrent/lure.sh diff --git a/vuetorrent/lure.sh b/vuetorrent/lure.sh new file mode 100644 index 0000000..4033f8c --- /dev/null +++ b/vuetorrent/lure.sh @@ -0,0 +1,29 @@ +name='vuetorrent' +version=VERSION +release=1 +desc='The sleekest looking WEBUI for qBittorrent made with Vuejs!' +homepage='https://github.com/WDaan/VueTorrent' +architectures=('amd64') +maintainer='SinTan1729' +license=('GPL3') +provides=('vuetorrent') +conflicts=('vuetorrent') +git_repo='WDaan/VueTorrent' + +sources=() +checksums=() + +version() { + printf "$(curl -sL "https://api.github.com/repos/${git_repo}/releases/latest" | jq -r '.tag_name')" +} + +package() { + # Pull sources + echo "Pulling ${name} ${version}" + curl -L "https://github.com/${git_repo}/releases/latest/download/${name}.zip" -o ${name}.zip + # Unzip and install + unzip /tmp/vuetorrent.zip -d "${pkgdir}/opt/${name}" + # Print usage instructions + echo "Make sure to choose /opt/vuetorrent as the location of the custom WebUI in qBittorrent settings." + echo "You might nedd to mount this directory first if you're using docker." +}