summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fed47aabd57e6ca7aab669faf381e4bce8b75b17 (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
# Maintainer: fridtjof <fridtjof@das-labor.org>
_pkgname=ABswitchStereo
pkgname=abswitchstereo-lv2-git
pkgver=r3.c38891e
pkgrel=1
pkgdesc="Stereo source comparison tool"
arch=('x86_64') #todo
url="https://github.com/sonejostudios/ABswitchStereo"
license=('GPL2')
groups=()
depends=()
makedepends=(
    'git'
    'faust'
    'qt5-tools' # faust2lv2
)
source=('git+https://github.com/sonejostudios/ABswitchStereo.git')
sha256sums=('SKIP')

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

build() {
	cd "$srcdir/$_pkgname"
	faust2lv2 ABswitchStereo.dsp
}

package() {
	cd "$srcdir/$_pkgname"
        install -D ABswitchStereo.lv2/* -t "$pkgdir/usr/lib/lv2/ABswitchStereo.lv2"
}