summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71f4c7422edf7a4622c0b4a717c6bf91daa82b56 (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
# Maintainer: Rasmus Steinke <rasi at xssn dot at>

pkgname=clerk-python-git
_pkgname=clerk
pkgver=1092.ea4d617
pkgrel=1
provides=('clerk')
pkgdesc="rofi driven mpd album/track chooser"
arch=('any')
url='https://github.com/carnager/clerk'
license=('GPL')
depends=('python-mpd2' 'python-msgpack' 'python-toml')
install=clerk-python-git.install
makedepends=('git')
source=('git+https://github.com/carnager/clerk')

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

package() {
    install -D -m 755 ${srcdir}/clerk/clerk.py "${pkgdir}/usr/bin/clerk.py"
}
md5sums=('SKIP')