1 # Maintainer: Andrzej Zadrożny <azadrozny@gmail.com>
6 pkgdesc='Free backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers. Duplicati is open source software, written in mono and available for Windows, Linux, and Mac OS X.'
8 url="http://code.google.com/p/duplicati/"
13 source=("http://duplicati.googlecode.com/files/Duplicati%20$pkgver.zip"
14 "http://duplicati.googlecode.com/svn/trunk/Duplicati/GUI/Resources/Duplicati.png"
18 # cd "$srcdir/Duplicati"
19 # install -Dm755 bin/$pkgname "$pkgdir/usr/bin/$pkgname"
20 # #cp -r share "$pkgdir/usr/"
23 sha1sums=('a71a86b2a09513f9e2f8c2467865351f76032129'
24 'e4e8ef8e797b0673e7256f63203491056923ed83'
28 #cd "$srcdir/$pkgname-$pkgver"
29 mkdir -p "$pkgdir/opt"
30 cp -r "$srcdir/Duplicati" "$pkgdir/opt/"
31 mkdir -p "$pkgdir/usr/bin"
32 cat >> "$pkgdir/usr/bin/duplicati" << EOF
35 /opt/Duplicati/StartDuplicati.sh
37 chmod 777 "$pkgdir/usr/bin/duplicati"
38 cp "$srcdir/Duplicati.png" "$pkgdir/opt/Duplicati/"
39 mkdir -p "$pkgdir/usr/share/applications"
40 cat >> "$pkgdir/usr/share/applications/duplicati.desktop" << EOF
41 #!/usr/bin/env xdg-open
45 Exec=/usr/bin/duplicati
47 Icon=/opt/Duplicati/Duplicati.png
49 Categories=System;Utility;Archiving