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

arachnophilia pkgbuild

By: a guest on Nov 12th, 2012  |  syntax: Bash  |  size: 1.48 KB  |  views: 11  |  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:  Gen2ly         <toddrpartridge@gmail.com>
  2. # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
  3. # Contributor: Nathan Owe     <ndowens04 at gmail>
  4.  
  5. pkgname=arachnophilia
  6. pkgver=5.5.2755
  7. pkgrel=1
  8. pkgdesc="A web page development workshop and general programming tool"
  9. arch=('any')
  10. url="http://www.arachnoid.com/arachnophilia/index.php"
  11. license=('LGPL' 'custom:careware')
  12. DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 --user-agent "Mozilla/4.0" -o %o %u')
  13. depends=('java-runtime')
  14. source=("http://www.arachnoid.com/arachnophilia/Arachnophilia.jar"
  15.         "http://www.arachnoid.com/lutusp/old_articles/careware.rtf"
  16.         "${pkgname}.desktop"
  17.         "${pkgname}.sh")
  18. noextract=("Arachnophilia.jar")
  19. md5sums=('e8d1a29d548ed56126a3c923fa06a58d'
  20.          'b2c3dc9852bff89756c89f957089374f'
  21.          '78912371bf65a1a23fe2de984d0e9a67'
  22.          '27010dd0f2b690ca78392dffcc25f210')
  23.  
  24. package() {
  25.   cd "${srcdir}"
  26.  
  27.   # Install program files
  28.   install -Dm755 ${pkgname}.sh "${pkgdir}/usr/bin/${pkgname}"
  29.   install -Dm644 Arachnophilia.jar "${pkgdir}/usr/share/${pkgname}/Arachnophilia.jar"
  30.  
  31.   # Install a desktop entry
  32.   bsdtar -xf Arachnophilia.jar Arachnophilia.png
  33.   install -Dm644 Arachnophilia.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  34.   install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  35.  
  36.   # Install a license file
  37.   install -Dm644 careware.rtf "${pkgdir}/usr/share/licenses/${pkgname}/careware.rtf"
  38. }
clone this paste RAW Paste Data