summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de3865520cffde252c8e2ab3b803520d9983de02 (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
#

pkgname=spiceamp-git
pkgver=1.0.r0.g05cd6b7
pkgrel=3
pkgdesc="Non-realtime high realistic software guitar processor. Works with *.wav files as input and output. It uses ngspice for electric circuit simulation and FFT convolver with Impulse Response *.wav file for cabinet simulation."
arch=('x86_64')
url="https://github.com/olegkapitonov/spiceAmp"
license=('GPL3')
groups=()
depends=(
'fftw' 'zita-resampler'
'qt5-base' 'qt5-tools' 'gsl'
'ngspice'
)
makedepends=('git' 'meson' 'gcc')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git+${url}")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname%-*}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "$srcdir/${pkgname%-*}"
	meson build --prefix=/usr
	ninja -C build
}

package() {
	cd "$srcdir/${pkgname%-*}"
	DESTDIR="$pkgdir/" ninja -C build install
}