2011-01-28 01:01:32 +08:00
|
|
|
#
|
2012-05-10 19:37:02 +08:00
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
2011-01-28 01:01:32 +08:00
|
|
|
#
|
2012-03-23 13:12:58 +08:00
|
|
|
# maintainer Neo Kolokotronis <tetris4@gmail.com>
|
2011-01-28 01:01:32 +08:00
|
|
|
|
|
|
|
pkgname=spideroak
|
2012-11-23 06:39:30 +08:00
|
|
|
_PkgName=SpiderOak
|
2012-12-10 01:31:13 +08:00
|
|
|
pkgver=4.8.3
|
2011-01-28 01:01:32 +08:00
|
|
|
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/"
|
2012-11-23 06:14:07 +08:00
|
|
|
arch=('x86_64')
|
2011-06-25 10:10:34 +08:00
|
|
|
depends=('openssl' 'qt')
|
|
|
|
optdepends=('dbus')
|
2011-01-28 01:01:32 +08:00
|
|
|
license=('custom')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('network')
|
2012-05-29 08:18:58 +08:00
|
|
|
screenshot=('https://spideroak.com/static/v0.1/main/images/screenshots/new/view-versions.png')
|
2011-01-28 01:01:32 +08:00
|
|
|
options=(!strip)
|
|
|
|
install=spideroak.install
|
2012-11-23 06:39:30 +08:00
|
|
|
source=("${pkgname}_${pkgver}_x86_64.rpm"::"https://spideroak.com/directdownload?platform=fedora&arch=x86_64"
|
|
|
|
"terms.txt")
|
2012-12-10 01:31:13 +08:00
|
|
|
md5sums=('2017e1d58953cba3be5dea82f0b8e559'
|
2012-11-23 06:39:30 +08:00
|
|
|
'9338d3464e8ce876d7222099c22a205b')
|
2011-01-28 01:01:32 +08:00
|
|
|
|
2011-05-28 05:13:35 +08:00
|
|
|
package() {
|
2012-11-23 06:39:30 +08:00
|
|
|
# install config files
|
|
|
|
install -Dm644 $srcdir/etc/dbus-1/system.d/$_PkgName.dbus.conf $pkgdir/etc/dbus-1/system.d/$pkgname.dbus.conf
|
|
|
|
|
|
|
|
# install app in /opt
|
|
|
|
install -d $pkgdir/opt/
|
|
|
|
cp -r $srcdir/opt/* $pkgdir/opt/
|
|
|
|
|
|
|
|
# install start script file
|
|
|
|
install -Dm755 $srcdir/usr/bin/SpiderOak $pkgdir/usr/bin/SpiderOak
|
|
|
|
|
|
|
|
# install desktop and pixmap files
|
|
|
|
install -Dm644 $srcdir/usr/share/applications/$_PkgName.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
|
|
|
install -Dm644 $srcdir/usr/share/pixmaps/$_PkgName.png $pkgdir/usr/share/pixmaps/$pkgname.png
|
|
|
|
|
|
|
|
# fix desktop file
|
|
|
|
sed -i \
|
|
|
|
-e "/Encoding=UTF-8/d" \
|
|
|
|
-e "/^Name=/s: Backup::" \
|
|
|
|
-e "/^Comment=/s:$_PkgName ::" \
|
|
|
|
-e "/^Categories=/s:$_PkgName;::" \
|
|
|
|
-e "/^Icon=/s:=.*$:=$pkgname:" \
|
|
|
|
-e "/^Exec=/s:=.*$:=$_PkgName:" \
|
|
|
|
$pkgdir/usr/share/applications/$pkgname.desktop
|
|
|
|
|
|
|
|
# install custom license file
|
|
|
|
install -Dm644 terms.txt $pkgdir/usr/share/licenses/$pkgname/terms.txt
|
2011-01-28 01:01:32 +08:00
|
|
|
}
|