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
|
2013-01-20 05:21:29 +08:00
|
|
|
pkgver=4.8.4
|
|
|
|
pkgrel=1
|
2011-01-28 01:01:32 +08:00
|
|
|
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')
|
2013-01-20 05:21:29 +08:00
|
|
|
depends=('qt' 'krb5' 'python2')
|
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
|
2013-01-05 11:26:52 +08:00
|
|
|
source=("${_pkgname}_${pkgver}_${_arch}.tgz"::"https://spideroak.com/getbuild?platform=slackware&arch=x86_64"
|
2012-11-23 06:39:30 +08:00
|
|
|
"terms.txt")
|
2013-01-20 05:21:29 +08:00
|
|
|
md5sums=('307944f15bfa74ef9579beae48f192e8'
|
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
|
2013-01-05 11:26:52 +08:00
|
|
|
install -Dm644 $srcdir/etc/dbus-1/system.d/$_PkgName.dbus.conf $pkgdir/etc/dbus-1/system.d/$_PkgName.dbus.conf
|
2012-11-23 06:39:30 +08:00
|
|
|
|
|
|
|
# install app in /opt
|
|
|
|
install -d $pkgdir/opt/
|
|
|
|
cp -r $srcdir/opt/* $pkgdir/opt/
|
|
|
|
|
|
|
|
# install start script file
|
2013-01-05 11:26:52 +08:00
|
|
|
install -Dm755 $srcdir/usr/bin/$_PkgName $pkgdir/usr/bin/$_PkgName
|
2012-11-23 06:39:30 +08:00
|
|
|
|
|
|
|
# install desktop and pixmap files
|
2013-01-05 11:26:52 +08:00
|
|
|
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
|
2012-11-23 06:39:30 +08:00
|
|
|
|
|
|
|
# fix desktop file
|
|
|
|
sed -i \
|
|
|
|
-e "/Encoding=UTF-8/d" \
|
|
|
|
-e "/^Name=/s: Backup::" \
|
|
|
|
-e "/^Comment=/s:$_PkgName ::" \
|
|
|
|
-e "/^Categories=/s:$_PkgName;::" \
|
2013-01-05 11:26:52 +08:00
|
|
|
-e "/^Icon=/s:=.*$:=$_PkgName:" \
|
2012-11-23 06:39:30 +08:00
|
|
|
-e "/^Exec=/s:=.*$:=$_PkgName:" \
|
2013-01-05 11:26:52 +08:00
|
|
|
$pkgdir/usr/share/applications/$_PkgName.desktop
|
2012-11-23 06:39:30 +08:00
|
|
|
|
|
|
|
# install custom license file
|
|
|
|
install -Dm644 terms.txt $pkgdir/usr/share/licenses/$pkgname/terms.txt
|
2013-01-05 11:26:52 +08:00
|
|
|
|
|
|
|
# install man page
|
|
|
|
install -Dm644 $srcdir/usr/share/man/man1/$_PkgName.1.gz $pkgdir/usr/share/man/man1/$_PkgName.1.gz
|
2011-01-28 01:01:32 +08:00
|
|
|
}
|