summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b6090b50dd2f42ffad51417d0c8927143cf91287 (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
30
31
32
pkgname=mps-youtube-git
pkgver=0.2.8.r100.g881dfe7
pkgrel=1

pkgdesc="Terminal based YouTube jukebox with playlist management - git develop release"
url='https://github.com/mps-youtube/mps-youtube'
arch=('any')
license=('GPL3')

depends=('python' 'python-setuptools' 'python-pafy')
optdepends=('mpv: Alternative to mplayer for playback'
            'mplayer: Alternative to mpv for playback'
            'ffmpeg: for transcoding downloaded content'
            'python-pyperclip: for copying content to the clipboard')

provides=('mps-youtube')
conflicts=('mps-youtube')

install=mps-youtube-git.install
source=('git+https://github.com/mps-youtube/mps-youtube.git')

md5sums=('SKIP')

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

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