Want more features on Pastebin? Sign Up, it's FREE!
Guest

atunes 2.1.0 PKGBUILD

By: itsmegb on Nov 27th, 2011  |  syntax: Bash  |  size: 1.13 KB  |  views: 58  |  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:  TDY <tdy@gmx.com>
  2. # Contributor: Joao Rodrigues <gothicknight (at) gmail (dot) com>
  3.  
  4. pkgname=atunes
  5. pkgver=2.1.0
  6. pkgrel=1
  7. pkgdesc="A full-featured audio player and manager"
  8. arch=('i686' 'x86_64')
  9. url="http://www.atunes.org/"
  10. license=('GPL')
  11. depends=('java-runtime>=6' 'mplayer')
  12. optdepends=('cdrkit: for ripping CDs via cdda2wav'
  13.             'vorbis-tools: for ripping Ogg Vorbis via oggenc')
  14. install=atunes.install
  15. source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.gz
  16.         $pkgname.desktop)
  17. md5sums=('c448444ea8fdc04c7fa2409e82447a0c'
  18.          'e00f8bcc3df45734295a37815934ba14')
  19.  
  20. build() {
  21.   cd "$srcdir/$pkgname-$pkgver-SNAPSHOT"
  22.   sed -i "21 c\cd /usr/share/java/$pkgname" aTunes.sh
  23.   install -Dm755 aTunes.sh "$pkgdir/usr/bin/$pkgname"
  24.   install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
  25.   install -Dm644 ../$pkgname.desktop \
  26.     "$pkgdir/usr/share/applications/$pkgname.desktop"
  27.   install -dm755 "$pkgdir/usr/share/java/$pkgname/lib"
  28.   install -m644 lib/* "$pkgdir/usr/share/java/$pkgname/lib"
  29.   install -m644 *.{ico,jar,so} "$pkgdir/usr/share/java/$pkgname"
  30. }
clone this paste RAW Paste Data