Advertisement
Guest User

Mamba 2.3 PKGBUILD

a guest
Apr 19th, 2022
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
  2.  
  3. _projectname=Mamba
  4. pkgname="${_projectname,,}"
  5. pkgver=2.3
  6. pkgrel=1
  7. pkgdesc="A virtual MIDI keyboard and file player/recorder for ALSA/JACK"
  8. arch=('i686' 'x86_64')
  9. url="https://github.com/brummer10/${_projectname}"
  10. license=('0BSD')
  11. depends=('cairo')
  12. makedepends=('alsa-lib' 'fluidsynth' 'jack' 'liblo' 'libsigc++' 'libsmf')
  13. optdepends=('new-session-manager: for NSM support')
  14. groups=('pro-audio')
  15. source=("https://github.com/brummer10/Mamba/releases/download/v${pkgver}/${_projectname}_${pkgver}.tar.gz")
  16. sha256sums=('c12ce0721a2924eb38d86f511115fedaeef0dfe09a9fabc2d7ee8e94497d2dd9')
  17.  
  18.  
  19. build() {
  20.   cd "${srcdir}/${_projectname}_${pkgver}"
  21.   make
  22. }
  23.  
  24. package() {
  25.   depends+=('libasound.so' 'libfluidsynth.so' 'libjack.so' 'liblo.so' 'libsigc++' 'libsmf.so')
  26.   cd "${srcdir}/${_projectname}_${pkgver}"
  27.   make DESTDIR="${pkgdir}" PREFIX=/usr install
  28.  
  29.   install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
  30. }
  31.  
Advertisement
RAW Paste Data Copied
Advertisement