diff options
author | Viktor Drobot | 2020-09-24 19:25:31 +0300 |
---|---|---|
committer | Viktor Drobot | 2020-09-24 19:25:31 +0300 |
commit | 2f4ac6b24ce94cebf097407b55cb787d5ae405c6 (patch) | |
tree | 7d2a45e18f55f5a1ee06172a8aa56744cae7d220 | |
download | aur-2f4ac6b24ce94cebf097407b55cb787d5ae405c6.tar.gz |
First release
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..327e1ececce6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = sf-down-git + pkgdesc = Allows you to download all of a SourceForge project's files + pkgver = r9.a7cc380 + pkgrel = 1 + url = https://github.com/SpiritQuaddicted/sourceforge-file-download + arch = any + license = unknown + makedepends = git + depends = bash + depends = wget + source = sf-down-git::git+https://github.com/SpiritQuaddicted/sourceforge-file-download.git + sha256sums = SKIP + +pkgname = sf-down-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..517274a313df --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com + +_pkgname=sf-down +pkgname=${_pkgname}-git +pkgver=r9.a7cc380 +pkgrel=1 +pkgdesc="Allows you to download all of a SourceForge project's files" +arch=(any) +license=(unknown) +url="https://github.com/SpiritQuaddicted/sourceforge-file-download" +depends=(bash wget) +makedepends=(git) +source=("$pkgname::git+https://github.com/SpiritQuaddicted/sourceforge-file-download.git") +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname}" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${pkgname}" + + install -Dm755 sourceforge-file-downloader.sh "${pkgdir}/usr/bin/sf-down" +} |