Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

simfy 1.5.2 PKGBUILD

By: a guest on Sep 16th, 2011  |  syntax: Bash  |  size: 0.91 KB  |  views: 163  |  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: Patrick Oberdorf <obi12341@googlemail.com>
  2. pkgname=simfy
  3. pkgver=1.5.2
  4. pkgrel=1
  5. pkgdesc="Desktop application for simfy.de"
  6. arch=('any')
  7. url="http://www.simfy.de"
  8. license=('Commercial')
  9. depends=('adobe-air-sdk')
  10. makedepends=('rpmextract' 'unzip')
  11. optdepends=()
  12. source=("${pkgname}-${pkgver}.zip::http://static.simfy.de/downloads/desktop/simfy_player.zip"
  13. simfy simfy.desktop)
  14. noextract=("${pkgname}-${pkgver}.zip")
  15. md5sums=('a316a301f2b3d5e51761258e44df65a6'
  16. '9fe000cbbde815128278c8be014d62ee'
  17. 'cd548d107652c8b5d18fb03b59e0d361')
  18.  
  19. build() {
  20. cd "${srcdir}"
  21. unzip "${pkgname}-${pkgver}.zip"
  22. rpm2cpio "simfy_${pkgver}.rpm" | bsdtar -xf - -C "${pkgdir}"
  23. rm "${pkgdir}/opt/simfy/bin/simfy"
  24. rm -r "${pkgdir}/etc/opt"
  25. rmdir "${pkgdir}/etc"
  26. rm -r "${pkgdir}/usr/share"
  27. install -D -m755 simfy "${pkgdir}/usr/bin/simfy"
  28. install -D -m644 simfy.desktop "${pkgdir}/usr/share/applications/simfy.desktop"
  29. }