View difference between Paste ID: rPaHeqha and
SHOW: | | - or go back to the newest paste.
1-
1+
# Contributed by: sfabius <sfabius@gmail.com>
2
# Modified by shemz
3
4
pkgname=spideroak
5
pkgver=9680
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
depends=(openssl)
10
optdepends=('qt: if you want to run the GUI')
11
makedepends=(tar)
12
license=('custom')
13
conflicts=()
14
replaces=()
15
options=(!strip)
16
install=spideroak.install
17
_source_arch="i386"
18
[ "$CARCH" = "x86_64" ] && _source_arch="x86_64"  
19
source=("spideroak_${pkgver}_${_source_arch}.deb::https://spideroak.com/directdownload?platform=ubuntukarmic&arch=${_source_arch}")
20
  md5sums=('552bedffcd01019fa6a6d6f4575bce38')
21
[ "$CARCH" = "x86_64" ] && md5sums=('c3c8940d170fac1cf103e9cd79519f5a')
22
23
arch=('i686' 'x86_64')
24
25
build() {
26
  cd $srcdir/
27
  bsdtar -xf spideroak_${pkgver}_${_source_arch}.deb data.tar.gz
28
  bsdtar -xf data.tar.gz
29
  rm data.tar.gz
30
  mv {usr,etc} ${pkgdir}
31
  msg "Done"
32
}