summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c604e9d31e7f2669344b7feb1bd176754abe7d8c (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
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> 

_pkgname=rofi-cmus
pkgname=${_pkgname}-git
pkgver=r5.2269e2c
pkgrel=1
pkgdesc="Rofi frontend for Cmus"
arch=('any')
url="https://github.com/vojdel/rofi-cmus.git"
license=('unknown')
depends=('rofi' 'cmus')
provides=(${_pkgname})
source=("${_pkgname}::git+https://github.com/vojdel/rofi-cmus.git")
sha512sums=('SKIP')

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

package() {
	cd "${srcdir}"/"${_pkgname}"
	install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
}