summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8215435b66aa77f591a7cdc6f31d324b62ab1d5f (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: micahco (https://github.com/micahco)
pkgname=spotify-now-git
_pkgname=spotify-now
pkgver=22.9443251
pkgrel=1
pkgdesc="Spotify now playing (for the proprietary spotify client)"
arch=('any')
url="https://github.com/micahco/spotify-now"
license=('BSD-2-Clause')
makedepends=('git')
conflicts=()
source=("git+https://github.com/micahco/$_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"
}