aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 2760f84845ae04b4f3c1fd1b2060535b38585482 (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
pkgname=np1-mps-git
pkgver=0.20.16.r2.gbe0c89b
pkgrel=1

pkgdesc="Terminal based jukebox with playlist management"
url='https://github.com/np1/mps'
arch=('any')
license=('GPL3')

depends=('python')
optdepends=('mpv: Alternative to mplayer for playback'
            'mplayer: Alternative to mpv for playback')

conflicts=('np1-mps')

install=np1-mps-git.install

source=('git+https://github.com/np1/mps.git')
md5sums=('SKIP')

pkgver() {
	cd mps
	git describe --tags --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

package() {
	cd mps
	python setup.py install --root="$pkgdir" --optimize=1
}