This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

spideroak

By: a guest on Oct 7th, 2010  |  syntax: Bash  |  size: 1.04 KB  |  views: 50  |  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: sfabius <sfabius@gmail.com>
  2.  
  3. pkgname=spideroak
  4. pkgver=3.7.9710
  5. pkgrel=1
  6. pkgdesc="Secure and consolidated free online backup, storage, access, sharing & sync tool for Windows, Mac OS X, and Linux."
  7. url="https://spideroak.com/"
  8. arch=('i686' 'x86_64')
  9. depends=(openssl)
  10. optdepends=('qt: if you want to run the GUI')
  11. makedepends=()
  12. license=('custom')
  13. conflicts=()
  14. replaces=()
  15. options=(!strip)
  16. install=spideroak.install
  17. if [ "${CARCH}" == "x86_64" ]; then
  18.   _source_arch="x86_64"
  19.   md5sums=('ef8920539607b301e65accd9661339e8')
  20. else
  21.   _source_arch="i386"
  22.   md5sums=('585002f6671d9027b5e8df7d74cd9233')
  23. fi
  24. source=("spideroak_${pkgver}_${_source_arch}.deb::https://spideroak.com/directdownload?platform=ubuntulucid&arch=${_source_arch}")
  25.  
  26. build() {
  27.   cd ${srcdir}
  28.   msg2 "Extracting debian package ..."
  29.    bsdtar -xf spideroak_${pkgver}_${_source_arch}.deb data.tar.gz
  30.    bsdtar -xf data.tar.gz
  31.    rm -f data.tar.gz
  32.  
  33.   msg2 "Install files ..."
  34.    rm -rf ${srcdir}/etc/apt
  35.    mv ${srcdir}/{usr,etc} ${pkgdir}
  36.  
  37.   msg2 "Done"
  38. }
clone this paste RAW Paste Data