blob: e93122ab1237e8772279099ec33a132fcace8639 (
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
29
|
# Maintainer: milk on freenode
pkgname=moddownloaderr
pkgver=v0.4.r0.gf5d8c70
pkgrel=1
pkgdesc="moddownloaderr - forked Bash script to download module music from The Mod Archive"
arch=('i686' 'x86_64')
url="https://github.com/mxmilkiib/moddownloaderr"
license=('LGPL3')
depends=('wget' 'sed' 'awk')
source=(git+https://github.com/mxmilkiib/moddownloaderr)
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "$srcdir"
}
package() {
cd "$srcdir"
cd moddownloaderr
install -Dm755 moddownloaderr $pkgdir/usr/bin/moddownloaderr
}
|