summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e0ea6d477d71d6b861370a4fa6a96d113ea15e4 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer: Jakob Dübel <jkbd@posteo.de>
_pkgname=jack-midi-clock
pkgname=${_pkgname}-git
pkgver=v0.1.0.r73.554baec
pkgrel=1
pkgdesc="A utility to send MIDI Beat Clock pulses that follow the JACK Transport"
arch=('x86_64')
url="https://github.com/x42/jack_midi_clock"
license=('GPL2')
groups=()
depends=('jack')
makedepends=('git' 'pkg-config')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("${_pkgname}::git+https://github.com/x42/jack_midi_clock.git")
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${_pkgname}"

# Git, tags available
	printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

prepare() {
	cd "$srcdir/${_pkgname}"
	#patch -p1 -i "$srcdir/${pkgname}.patch"
}

build() {
	cd "$srcdir/${_pkgname}"
	make
}

#check() {}

package() {
	cd "$srcdir/${_pkgname}"
	install -d ${pkgdir}/usr/lib/jack
	make PREFIX=/usr DESTDIR="${pkgdir}" install
}