summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e851a74b394b2d0a9a991321d1b454f58ddeffa0 (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
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

_projectname=Mamba
pkgname="${_projectname,,}"
pkgver=2.3
pkgrel=3
pkgdesc='A virtual MIDI keyboard and file player/recorder for ALSA/JACK'
arch=(i686 x86_64 aarch64)
url="https://github.com/brummer10/$_projectname"
license=(BSD)
depends=(cairo)
makedepends=(alsa-lib fluidsynth jack liblo libsigc++ libsmf xxd)
optdepends=('new-session-manager: for NSM support')
groups=(pro-audio)
source=("https://github.com/brummer10/Mamba/releases/download/v$pkgver/${_projectname}_$pkgver.tar.gz")
sha256sums=('c12ce0721a2924eb38d86f511115fedaeef0dfe09a9fabc2d7ee8e94497d2dd9')

build() {
  cd ${_projectname}_$pkgver
  make
}

package() {
  depends+=(libasound.so libfluidsynth.so libjack.so liblo.so libsigc-2.0.so libsmf.so)
  cd ${_projectname}_$pkgver
  make DESTDIR="$pkgdir" PREFIX=/usr install
  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}