aboutsummaryrefslogtreecommitdiffstats
path: root/community/amsynth/APKBUILD
blob: c0e66d4054e4fa18f6614d180a71bc5e381eb3f4 (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
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=amsynth
pkgver=1.13.0
pkgrel=0
pkgdesc="easy-to-use software synth with a classic subtractive synthesizer topology"
url="https://amsynth.github.io"
arch="all"
license="GPL-2.0-only"
depends="libintl"
makedepends="alsa-lib-dev gettext-dev gtk+2.0-dev jack-dev lv2-dev"
subpackages="$pkgname-lang $pkgname-lv2"
source="https://github.com/amsynth/amsynth/releases/download/release-$pkgver/amsynth-$pkgver.tar.gz"

build() {
	LDFLAGS="-lintl $LDFLAGS"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

lv2() {
	pkgdesc="amsynth (LV2 plugins)"
	amove usr/lib/lv2/*
}

sha512sums="
29698be7d690c76a46a0c8306d6c3b94630b25ed9a3524d7e27d22e244f5c144b74b8473f09eecdb1368443f503ba7024d1c71ead6794f11a2d1cb2114c84bd5  amsynth-1.13.0.tar.gz
"