summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef008f0d1b725878855f3754ff36d00c1005035d (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
#Maintainer: Klearchos-Angelos Gkountras <jemadux at cryptolab dot net>
pkgname=curseradio-git
_pkgname=curseradio
pkgver=r15.1bd4bd0
pkgrel=1
pkgdesc="Command line radio player"
arch=('any')
url="https://github.com/chronitis/curseradio"
license=('MIT')
depends=('python' "mpv"  'python-requests' 'python-xdg' 'python-lxml')
makedepends=('git')
provides=('curseradio-git')
options=(!emptydirs)
source=("git+https://github.com/chronitis/curseradio.git")
md5sums=('SKIP')

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

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

# vim:set ts=2 sw=2 et: