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

PKGBUILD atraci-bin

By: a guest on Jun 25th, 2014  |  syntax: None  |  size: 1.02 KB  |  views: 201  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: thiagoc <root@thiagoc.net>
  2. # https://github.com/thiagoc/aur-packages
  3.  
  4. pkgname=atraci-bin
  5. pkgver=0.5.0
  6. pkgrel=1
  7. pkgdesc='An application that lets you listen instantly to more than 60 million songs'
  8. arch=('i686' 'x86_64')
  9. url='http://getatraci.net'
  10. license=('MIT')
  11. optdepends=('libudev.so.0: install it if HipHop does not run correctly')
  12. conflicts=('atraci-git')
  13. options=('!strip')
  14. _pkgarch='64'
  15. _md5sum='90c9525f38ee42b10a767ee8e7e9aaf2'
  16. if [ "${CARCH}" == 'x86_64' ]; then
  17.   _pkgarch='64'
  18.   _md5sum='eedf2b2809bb7da98250fc6356490bf8'
  19. fi
  20. source=(https://s3.amazonaws.com/Atraci/linux${_pkgarch}/Atraci.tgz)
  21. md5sums=($_md5sum)
  22.  
  23. package() {
  24.   cd ${srcdir}
  25.   install -dm 755 ${pkgdir}/opt/${pkgname}
  26.   install -dm 755 ${pkgdir}/usr/bin
  27.   install -Dm 755 Atraci/Atraci ${pkgdir}/opt/${pkgname}
  28.   install -Dm 644 Atraci/libffmpegsumo.so ${pkgdir}/opt/${pkgname}
  29.   install -Dm 644 Atraci/nw.pak ${pkgdir}/opt/${pkgname}
  30.   ln -s /opt/${pkgname}/Atraci ${pkgdir}/usr/bin/atraci
  31. }
  32.  
  33. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data