blob: 976b42ff8aa4e7ac51b6a0964b39b6fc4c42eaff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Joey Dumont <joey.dumont@gmail.com>
# Maintainer: Bjorn Neergaard <bjorn@neersighted.com>
# Contributor: Danny Su <contact@dannysu.com>
# aarch64 tester: Irissman <irissman@probus.ca>
# armv7h tester: kauron
pkgname=duplicati-beta-bin
pkgver=2.0.8.1
pkgrel=2
_date=2024-05-07
_branch=beta
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')
install=duplicati.install
source=(
# https://updates.duplicati.com/${_branch}/duplicati-${pkgver}_${_branch}_${_date}.zip # duplicati.com seems to be blocked in Russia, see https://aur.archlinux.org/packages/duplicati-latest/#comment-746652
"https://github.com/duplicati/duplicati/releases/download/v${pkgver}-${pkgver}_${_branch}_${_date}/duplicati-${pkgver}_${_branch}_${_date}.zip"
duplicati-user.service
duplicati.service
duplicati.sysusers
duplicati.tmpfiles.conf
duplicati-cli
duplicati.env
)
noextract=(
"duplicati-${pkgver}_${_branch}_${_date}.zip"
)
backup=(
etc/default/duplicati
)
sha256sums=('516d83a78123f876a85e012d8adfccb31e77cdaf9bf85d527ce30b5541094675'
'5e47acfb251e0fbe4c01bd75ba88a78c497208bf767addb59010baea049dd19f'
'9e88381d56b462643a152945b81f98d3a7744bdc760fe201aec02a50bccbb5c4'
'b9389b399467f3e02aa8e76bb98f6efbca1166fbc4d0bdf939493f8403462959'
'b6ca3d280feb753ded94bb44eef821a0dac0c0c7ed7f37dea76d445a64386c86'
'4a4118c73249278d78bec9b46ca9562194c3fe97fa4aa653649c29988cb7e187'
'99591e96c340b49b47341315cb42f8ac12ca66dc4d22550e4acd37cce84e8b36')
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
depends=(openssl-1.1 gtk-sharp-2 mono libappindicator-gtk2)
makedepends=(unzip)
optdepends=('notify-sharp: for tray notifications')
conflicts=(duplicati-canary-bin duplicati)
provides=(duplicati)
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"
install -Dm644 "$srcdir/duplicati.sysusers" "$pkgdir/usr/lib/sysusers.d/duplicati.conf"
install -Dm644 "$srcdir/duplicati.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/duplicati.conf"
install -Dm644 "$srcdir/duplicati.env" "$pkgdir/etc/default/duplicati"
# Install the CLI wrapper.
mkdir -p "${pkgdir}/usr/bin"
install -D -m755 duplicati-cli "${pkgdir}/usr/bin"
# Install the program.
mkdir -p "${pkgdir}"/opt/duplicati
unzip -a "duplicati-${pkgver}_${_branch}_${_date}.zip" -d "${pkgdir}"/opt/duplicati
}
|