Advertisement
Guest User

spideroak

a guest
Oct 7th, 2010
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.04 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement