summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 137fb03379aebef482575dee08c8707ccb80f84c (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
# Maintainer: Jean Pierre Cimalando <jp-dev@inbox.ru>
pkgname=setup-fast-track-ultra-git
pkgver=r8.475a3fe
pkgrel=1
epoch=
pkgdesc="Automatic setup of M-Audio Fast Track Ultra for JACK on Linux"
arch=('any')
url="https://github.com/jpcima/fast-track-ultra"
license=('Boost')
groups=()
depends=('bash')
makedepends=('git' 'make' 'sed')
checkdepends=()
optdepends=()
provides=('setup-fast-track-ultra')
conflicts=('setup-fast-track-ultra')
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/jpcima/fast-track-ultra")
md5sums=('SKIP')
noextract=()
validpgpkeys=()

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

package() {
  cd "fast-track-ultra"
  make PREFIX=/usr SBINDIR=/usr/bin UDEVDIR=/usr/lib/udev DESTDIR="$pkgdir" install
}