blob: 8a2198b332aebaddffd7c4fffd35972a296cf1ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_pkgname=sf-down
pkgname=${_pkgname}-git
pkgver=r13.b938130
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)
provides=(sf-down)
conflicts=(sf-down)
source=("${pkgname}::git+https://github.com/SpiritQuaddicted/sourceforge-file-download.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 sourceforge-file-downloader.sh "${pkgdir}/usr/bin/sf-down"
}
|