desktop/spideroak/PKGBUILD

35 lines
1.1 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Contributor: Neo Kolokotronis <tetris4@gmail.com>
pkgname=spideroak
pkgver=4.2.9907
pkgrel=1
pkgdesc="Secure and consolidated free online backup, storage, access, sharing & sync tool for Windows, Mac OS X, and Linux."
url="https://spideroak.com/"
depends=('openssl' 'qt')
optdepends=('dbus')
license=('custom')
options=(!strip)
install=spideroak.install
_source_arch="i386"
[ "$CARCH" = "x86_64" ] && _source_arch="x86_64"
source=("spideroak_${pkgver}_${_source_arch}.deb::https://spideroak.com/directdownload?platform=ubuntumaverick&arch=${_source_arch}")
md5sums=('c4a20aad838197ee033c76fc65297b81')
[ "$CARCH" = "i686" ] && md5sums=('08c3e8cd826ae565e4089f8a652ffbc8')
arch=('i686' 'x86_64')
package() {
cd "${srcdir}"
bsdtar -xf "spideroak_${pkgver}_${_source_arch}.deb" data.tar.gz
bsdtar -xf data.tar.gz
rm data.tar.gz
mv {usr,etc} "${pkgdir}"
msg "Done"
}