Add duplicati-latest
This commit is contained in:
parent
ddc361b961
commit
b0ab4982ce
|
@ -0,0 +1,20 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Sat Apr 30 06:12:50 UTC 2016
|
||||
pkgbase = duplicati-latest
|
||||
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.
|
||||
pkgver = 2.0.1.11
|
||||
pkgrel = 1
|
||||
url = http://www.duplicati.com/
|
||||
install = duplicati.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = LGPL
|
||||
depends = mono
|
||||
depends = gtk-sharp-2
|
||||
source = http://updates.duplicati.com/experimental/duplicati-2.0.1.11_experimental_2016-04-08.zip
|
||||
source = duplicati_user.service
|
||||
sha1sums = 08f409819409eb36959bfabc2beb482978e55b04
|
||||
sha1sums = cf23e9cdc0f72d1b52288579f169c4476aa26a0f
|
||||
|
||||
pkgname = duplicati-latest
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
src
|
||||
pkg
|
||||
*.zip
|
||||
*.tar.xz
|
||||
*.src.tar.gz
|
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: Danny Su <contact@dannysu.com>
|
||||
|
||||
pkgname=duplicati-latest
|
||||
pkgver=2.0.1.31
|
||||
pkgrel=1
|
||||
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.'
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.duplicati.com/"
|
||||
install=duplicati.install
|
||||
license=('LGPL')
|
||||
depends=('mono' 'gtk-sharp-2')
|
||||
optdepends=()
|
||||
source=("https://github.com/duplicati/duplicati/releases/download/v2.0.1.31-2.0.1.31_canary_2016-11-03/duplicati-2.0.1.31_canary_2016-11-03.zip" duplicati_user.service)
|
||||
|
||||
sha1sums=('ddf901c7e94474dd66c8a606cf295f64ca1cbdcb'
|
||||
'cf23e9cdc0f72d1b52288579f169c4476aa26a0f')
|
||||
|
||||
package() {
|
||||
rm "$srcdir/duplicati-2.0.1.31_canary_2016-11-03.zip"
|
||||
|
||||
mkdir -p "$pkgdir/opt/duplicati-latest"
|
||||
cp -r . "$pkgdir/opt/duplicati-latest"
|
||||
|
||||
# install systemd units
|
||||
install -Dm644 duplicati_user.service "${pkgdir}"/usr/lib/systemd/user/duplicati_latest.service
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
post_install() {
|
||||
|
||||
post_upgrade
|
||||
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
|
||||
cat << EOF
|
||||
|
||||
UI can be accessed via following URL: http://localhost:8200
|
||||
|
||||
* Running duplicati user instance (using current user account)
|
||||
|
||||
Execute:
|
||||
|
||||
to reload user systemd modules: systemctl --user daemon-reload
|
||||
to start duplicati manually: systemctl --user start duplicati_latest
|
||||
to autostart duplicati on user login: systemctl --user enable duplicati_latest
|
||||
|
||||
EOF
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Duplicati per-user service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/mono /opt/duplicati-latest/Duplicati.Server.exe --webservice-port=8200
|
||||
Restart=on-abort
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in New Issue