Update some packages

This commit is contained in:
moparisthebest
2016-11-28 17:29:12 -05:00
parent 2bfd6f4df1
commit 83b701744d
12 changed files with 97 additions and 81 deletions

View File

@@ -1,20 +1,22 @@
# Generated by mksrcinfo v8
# Sat Apr 30 06:12:50 UTC 2016
# Thu Nov 17 00:23:43 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
pkgdesc = A free backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers
pkgver = 2.0.1.32
pkgrel = 1
url = http://www.duplicati.com/
url = http://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
depends = mono
source = https://github.com/duplicati/duplicati/releases/download/v2.0.1.32-2.0.1.32_canary_2016-11-12/duplicati-2.0.1.32_canary_2016-11-12.zip
source = duplicati.service
sha1sums = 6ba8ef82b8c91f3a73be4de74f59cce1ca9c194c
sha1sums = 8298fe7fbe3ba71a9773220ab236eb6350e89f87
sha256sums = 73cd8ab89e815660782403943aa7a54001a65e530af6dcbe28634900c8cae23e
sha256sums = 3237249cb9de137c3284a5cd92a451f3a49ec2183c6254be4b5ef7969e04e4a1
pkgname = duplicati-latest

View File

@@ -1,26 +1,28 @@
# Maintainer: Danny Su <contact@dannysu.com>
# Maintainer: Bjorn Neergaard <bjorn@neersighted.com>
# Contributor: Danny Su <contact@dannysu.com>
pkgname=duplicati-latest
pkgver=2.0.1.31
pkgver=2.0.1.32
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
pkgdesc='A free backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers'
url='http://duplicati.com'
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)
install='duplicati.install'
source=("https://github.com/duplicati/duplicati/releases/download/v2.0.1.32-2.0.1.32_canary_2016-11-12/duplicati-2.0.1.32_canary_2016-11-12.zip" 'duplicati.service')
sha1sums=('6ba8ef82b8c91f3a73be4de74f59cce1ca9c194c'
'8298fe7fbe3ba71a9773220ab236eb6350e89f87')
sha256sums=('73cd8ab89e815660782403943aa7a54001a65e530af6dcbe28634900c8cae23e'
'3237249cb9de137c3284a5cd92a451f3a49ec2183c6254be4b5ef7969e04e4a1')
arch=('i686' 'x86_64')
depends=('gtk-sharp-2' 'mono')
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
# Install the service.
install -Dm644 duplicati.service "${pkgdir}/usr/lib/systemd/system/duplicati.service"
rm duplicati.service
# Install the program.
rm *.zip
mkdir -p "${pkgdir}/opt/duplicati-latest"
cp -r . "${pkgdir}/opt/duplicati-latest"
}

View File

@@ -1,23 +1,14 @@
post_install() {
post_upgrade
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
* UI can be accessed via following URL: http://localhost:8200
* Running duplicati user instance (using current user account)
- to reload user systemd modules: systemctl --user daemon-reload
- to start duplicati manually: systemctl --user start duplicati
- to autostart duplicati on user login: systemctl --user enable duplicati
EOF
}

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Duplicati
After=network.target
[Service]
ExecStart=/usr/bin/mono /opt/duplicati-latest/Duplicati.Server.exe --webservice-port=8200
Restart=on-abort
[Install]
WantedBy=default.target