summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efbba9791e3e1422944e88ab3c98cd9cb9cfe0e2 (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: Mads Kjeldgaard<mail@madskjeldgaard.dk>
pkgname=rofi-jack-git
pkgver=r37.f47a3b1
pkgrel=2
pkgdesc='Scripts for controlling jack using rofi'
arch=('any')
url='https://github.com/madskjeldgaard/rofi-jack'
license=('GPL')
groups=('pro-audio')
depends=('rofi')
makedepends=('git')
optdepends=('jack2' 'jack')
source=("$pkgname"::git+$url.git)
md5sums=('SKIP')

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

package() {
	cd "$srcdir/$pkgname"
	install -Dm755 $srcdir/$pkgname/rofi-jack-connect $pkgdir/usr/bin/rofi-jack-connect
	install -Dm755 $srcdir/$pkgname/rofi-jack-device $pkgdir/usr/bin/rofi-jack-device
}