This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

amsynth PKGBUILD

By: danielepaolella on Jan 14th, 2012  |  syntax: Bash  |  size: 0.98 KB  |  views: 102  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Alessio Biancalana <dottorblaster@gmail.com>
  2. # Contributor: Daniele Paolella <danielepaolella@email.it>
  3.  
  4. pkgname=amsynth
  5. pkgver=1.3.0
  6. pkgrel=2
  7. pkgdesc="Analogue Modeling SYNTHesizer"
  8. arch=('i686' 'x86_64')
  9. url="http://code.google.com/p/amsynth/"
  10. license=('GPL')
  11. depends=('gtkmm' 'jack')
  12. source=(http://amsynth.googlecode.com/files/amSynth-${pkgver}.tar.gz)
  13. md5sums=('2ce5ee9adda16badf3f4f2792001fb4d')
  14.  
  15. build() {
  16.   cd ${srcdir}/amSynth-${pkgver}
  17.  
  18.   sed -i -e 's|/amSynth|/amsynth|' src/main.cc
  19.  
  20.   ./configure --prefix=/usr
  21.   make
  22.  
  23.   install -Dm755 src/amSynth ${pkgdir}/usr/bin/amSynth
  24.   mkdir -p ${pkgdir}/usr/share/${pkgname}/skins/default
  25.   install -m644 skel/{Controllersrc,presets} ${pkgdir}/usr/share/${pkgname}/
  26.   install -m644 skins/default/*.{ini,png} ${pkgdir}/usr/share/${pkgname}/skins/default/
  27.   install -Dm644 amsynth.png ${pkgdir}/usr/share/pixmaps/amsynth.png
  28.   install -Dm644 amsynth.desktop ${pkgdir}/usr/share/applications/amsynth.desktop
  29. }
clone this paste RAW Paste Data