summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 028754ff4b42ded4c29b2487b6ddf47f55b16278 (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
48
49
50
51
52
53
54
55
56
57
58
# Maintainer: Carlo Capocasa <carlo@capocasa.net>
pkgname=jamrouter-git
pkgver=r46.23527ae
pkgrel=1
epoch=
pkgdesc="A low-latency low-jitter ALSA MIDI to Jack MIDI bridge, hardware MIDI compatibility layer and event processor"
arch=(any)
url="https://github.com/williamweston/jamrouter.git"
license=('GPL')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
"$pkgname::git+https://github.com/williamweston/jamrouter.git#branch=master"
)
noextract=()
md5sums=(
"SKIP"
)
validpgpkeys=()

prepare() {
	cd "$pkgname"
  aclocal &> /dev/null
  autoconf &> /dev/null
	automake &> /dev/null
	autoheader &> /dev/null
  ./configure --enable-arch=native
}

build() {
	cd "$pkgname"
  make
}

check() {
  cd "$pkgname"
}

package() {
  cd "$pkgname"
  make DESTDIR="$pkgdir/" install
}

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