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

freearc 0.666-1 PKGBUILD

By: a guest on Oct 23rd, 2010  |  syntax: Bash  |  size: 2.17 KB  |  views: 278  |  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: TuxSpirit<tuxspiritATarchlinuxDOTfr>
  2.  
  3. pkgname=freearc
  4. _pkgname=FreeArc
  5. pkgver=0.666
  6. pkgrel=1
  7. pkgdesc="FreeArc archiver combines unexampled speed/compression ratio and multitude of features"
  8. license=('GPL')
  9. arch=('i686')
  10. depends=('curl' 'gmp' 'gtk2')
  11. url="http://freearc.org"
  12. source=(http://freearc.org/download/${pkgver}/FreeArc-${pkgver}-linux-i386.tar.bz2 \
  13.         freearc.desktop \
  14.         freearcusercfg.sh)
  15. install=${pkgname}.install
  16. options=(!emptydirs)
  17.  
  18. md5sums=('d522c029c733b0b7d394b489e187a687'
  19.          'c8a9eacf55da51f4f6c92d39f27dc1d8'
  20.          'bb85ad2af190393df10980299a3d875e')
  21.  
  22. build() {  
  23.  
  24.  install -d -m 755 ${pkgdir}/usr/bin
  25.  install -d -m 755 ${pkgdir}/etc/${_pkgname}
  26.  install -d -m 755 ${pkgdir}/usr/lib/${_pkgname}
  27.  install -d -m 755 ${pkgdir}/usr/lib/${_pkgname}/{Addons,arc.languages,Codecs,Documentation,scripts}
  28.  install -d -m 755 ${pkgdir}/usr/lib/${_pkgname}/Addons/Benchmarking
  29.  
  30.  #Binaries
  31.  install -m 755 ${srcdir}/FreeArc-${pkgver}-linux-i386/bin/* ${pkgdir}/usr/bin
  32.  
  33.  #Settings
  34.  install -m 755 ${srcdir}/FreeArc-${pkgver}-linux-i386/cfg/* ${pkgdir}/etc/${_pkgname}
  35.  install -m 755 ${srcdir}/FreeArc-${pkgver}-linux-i386/scripts/* ${pkgdir}/usr/lib/${_pkgname}/scripts
  36.  
  37.  #User local
  38.  install -m 755 ${srcdir}/freearcusercfg.sh ${pkgdir}/usr/lib/${_pkgname}/scripts/freearcusercfg.sh
  39.  
  40.  #Librairies
  41.  install -m 755 ${srcdir}/FreeArc-${pkgver}-linux-i386/lib/* ${pkgdir}/usr/lib/${_pkgname} || true
  42.  install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/lib/arc.languages/* ${pkgdir}/usr/lib/${_pkgname}/arc.languages
  43.  #Codecs
  44.  install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/lib/Codecs/* ${pkgdir}/usr/lib/${_pkgname}/Codecs
  45.  #Addons
  46.  install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/Addons/* ${pkgdir}/usr/lib/${_pkgname}/Addons || true
  47.  install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/Addons/Benchmarking/* ${pkgdir}/usr/lib/${_pkgname}/Addons/Benchmarking
  48.  
  49.  #Documentations
  50.  install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/Documentation/* ${pkgdir}/usr/lib/${_pkgname}/Documentation
  51.  
  52.  # Users - Desktop
  53.  install -D -m 644 ${srcdir}/freearc.desktop ${pkgdir}/usr/share/applications/freearc.desktop
  54.  
  55. }
clone this paste RAW Paste Data