summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f38b1c4585cf3b57ac33f2289459c78b859838b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: getmicah (https://micahcowell.com)
pkgname=spotify-now-git
_pkgname=spotify-now
pkgver=22.9443251
pkgrel=1
pkgdesc="Get information on the current Spotify song. Git version."
arch=('any')
url="https://github.com/getmicah/spotify-now"
license=('MIT')
makedepends=('git')
conflicts=('spotify-now')
source=("git://github.com/getmicah/$_pkgname.git")
sha256sums=('SKIP')

pkgver() {
	cd "$_pkgname"
	echo "$(git rev-list --count HEAD).$(git describe --always)"
}

package () {
	cd "$_pkgname"
	install -Dm755 $_pkgname "$pkgdir/usr/bin/$_pkgname"
}