summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2060f369a50d00c2b82a722dd46e84f39e0c1642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=songtext-git
pkgver=r7.0b4353b
pkgrel=1
pkgdesc="bash script for retrieving song lyrics."
arch=('any')
url="https://github.com/jonhoo/songtext"
license=('MIT')
groups=()
depends=('pup')
makedepends=('git')
source=('git+https://github.com/jonhoo/songtext.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${pkgname%-git}"
	install -Dm755 "songtext" "$pkgdir/usr/bin/songtext"
}