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

add64 PKGBUILD

By: a guest on Apr 4th, 2013  |  syntax: None  |  size: 1.03 KB  |  views: 36  |  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: SpepS <dreamspepser at yahoo dot it>
  2.  
  3. _name=Add64
  4. pkgname=add64
  5. pkgver=1.2.3
  6. pkgrel=1
  7. pkgdesc="An additive synthesizer with Jack support"
  8. arch=(i686 x86_64)
  9. url="http://add64.sourceforge.net/"
  10. license=('GPL3')
  11. depends=('qt4' 'jack')
  12. install="$pkgname.install"
  13. source=("https://downloads.sourceforge.net/project/$pkgname/$_name-$pkgver.tar.bz2"
  14.         "$pkgname.png::http://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Ambox_emblem_plus.s$
  15.         "$pkgname.desktop")
  16. md5sums=('9799d5b5ca88b04b194d832c29a78c46'
  17.          '91d64b748b688e4b087ba99760ac2628'
  18.          'b724925782302c9e077f33550a9e9e93')
  19.  
  20. build() {
  21.   cd "$srcdir/$_name-$pkgver"
  22.  
  23.   qmake-qt4
  24.   make
  25. }
  26.  
  27. package() {
  28.   cd "$srcdir/$_name-$pkgver"
  29.  
  30.   # bin
  31.   install -Dm755 $_name "$pkgdir/usr/bin/$pkgname"
  32.  
  33.   # desktop file
  34.   install -Dm644 ../$pkgname.desktop \
  35.     "$pkgdir/usr/share/applications/$pkgname.desktop"
  36.  
  37.   # icon
  38.   install -Dm644 ../$pkgname.png \
  39.     "$pkgdir/usr/share/pixmaps/$pkgname.png"
  40. }
  41.  
  42. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data