desktop/spideroak/PKGBUILD
2011-12-31 19:21:00 +00:00

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.9913
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=('92f06d35e1b580f04be3edbafb143758')
[ "$CARCH" = "i686" ] && md5sums=('7dd8a42b42576e5bea0a5154ea6cdde0')
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"
}