34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
# Maintainer: Joey Dumont <joey.dumont@gmail.com>
|
|
# Maintainer: Bjorn Neergaard <bjorn@neersighted.com>
|
|
# Contributor: Danny Su <contact@dannysu.com>
|
|
|
|
pkgname=duplicati-latest
|
|
pkgver=2.0.2.1
|
|
pkgrel=1
|
|
_date=2017-08-01
|
|
_branch=beta
|
|
kgdesc='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')
|
|
install='duplicati.install'
|
|
source=(https://github.com/duplicati/duplicati/releases/download/v${pkgver}-${pkgver}_${_branch}_${_date}/duplicati-${pkgver}_${_branch}_${_date}.zip
|
|
duplicati.service
|
|
duplicati-user.service)
|
|
sha256sums=('e37d126296024a5fae48fdc9896c97a334eeeb6b008a970aa0e1632bc13c77b0'
|
|
'3237249cb9de137c3284a5cd92a451f3a49ec2183c6254be4b5ef7969e04e4a1'
|
|
'973bac022f4952ddbd517675cf67f4ca70699b1c343346d42cf868d61f546201')
|
|
arch=('i686' 'x86_64')
|
|
depends=('gtk-sharp-2' 'mono')
|
|
|
|
package() {
|
|
# Install the service.
|
|
install -Dm644 duplicati.service "${pkgdir}/usr/lib/systemd/system/duplicati.service"
|
|
install -Dm644 duplicati-user.service "${pkgdir}/usr/lib/systemd/user/duplicati.service"
|
|
rm duplicati.service duplicati-user.service
|
|
|
|
# Install the program.
|
|
rm *.zip
|
|
mkdir -p "${pkgdir}/opt/duplicati-latest"
|
|
cp -r . "${pkgdir}/opt/duplicati-latest"
|
|
}
|