Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Nov 26th, 2010  |  syntax: Bash  |  size: 1.01 KB  |  hits: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: sfabius <sfabius@gmail.com>
  2. # Contributor: nblock <nblock [/at\] archlinux DOT us>
  3.  
  4. pkgname=spideroak
  5. pkgver=3.6.9713
  6. pkgrel=1
  7. pkgdesc="Secure and consolidated free online backup, storage, access, sharing & sync tool for Windows, Mac OS X, and Linux."
  8. url="https://spideroak.com"
  9. arch=('i686' 'x86_64')
  10. depends=('openssl')
  11. optdepends=('qt: if you want to run the GUI')
  12. license=('custom')
  13. options=(!strip)
  14. install=spideroak.install
  15. if [ "${CARCH}" == "x86_64" ]; then
  16.   _source_arch="x86_64"
  17.   md5sums=('9bfbfee517db71b513cd88e111728662')
  18. else
  19.   _source_arch="i386"
  20.   md5sums=('27540104a3650951140b3e18cfdb368c')
  21. fi
  22. source=("${pkgname}_${pkgver}_${_source_arch}.deb::https://spideroak.com/directdownload?platform=ubuntumaverick&arch=${_source_arch}")
  23.  
  24. build() {
  25.   #TODO: license, spideroak.install, deps
  26.   cd ${srcdir}
  27.   bsdtar -xf ${pkgname}_${pkgver}_${_source_arch}.deb
  28.   bsdtar -xf data.tar.gz
  29.   rm -rf ${srcdir}/etc/apt
  30.   mv ${srcdir}/{usr,etc} ${pkgdir}
  31. }
  32.  
  33. # vim:set ts=2 sw=2 et: