# Contributor: David Demelier # Maintainer: David Demelier pkgname=amsynth pkgver=1.13.2 pkgrel=1 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 mkdir -p "$pkgdir"/usr/share/metainfo mv "$pkgdir"/usr/share/appdata/*.xml "$pkgdir"/usr/share/metainfo rmdir "$pkgdir"/usr/share/appdata } lv2() { pkgdesc="amsynth (LV2 plugins)" amove usr/lib/lv2/* } sha512sums=" b93949d3be3c484a27534bd515b12a460aa07d353635b09ecee0e731bf27025b4bf4684e2968cf3a7887c765e1ad80a912fd86582c6f028738fa60df82a40f86 amsynth-1.13.2.tar.gz "