summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81379ca2b49ef6ba1e0218cdee7fdf74af630377 (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
# Maintainer: Eric Langlois <eric@langlois.xyz>
pkgname=duplicacy-web
pkgver=1.5.0
pkgrel=1
pkgdesc="Cross-platform cloud backup tool with a web GUI"
arch=('x86_64' 'i686' 'arm' 'aarch64' 'armv7')
url="https://duplicacy.com/"
license=('custom')
depends=()
makedepends=()
source=("$pkgname@.service"
        "$pkgname.service"
        "LICENSE")
source_x86_64=("$pkgname::https://acrosync.com/$pkgname/${pkgname//-/_}_linux_x64_$pkgver")
source_i686=("$pkgname::https://acrosync.com/$pkgname/${pkgname//-/_}_linux_i386_$pkgver")
source_arm=("$pkgname::https://acrosync.com/$pkgname/${pkgname//-/_}_linux_arm_$pkgver")
source_aarch64=("$pkgname::https://acrosync.com/$pkgname/${pkgname//-/_}_linux_arm64_$pkgver")
source_armv7=("$pkgname::https://acrosync.com/$pkgname/${pkgname//-/_}_linux_armv7_$pkgver")
sha256sums=('f169ca1196a3d99661b5fdf9b61d18c3f7a1341f6d90c1411874a9ebfecce10a'
            '33325dd4c621676af89c4f6c27105fb16e0b9b00e962e6496f7d532f907646bf'
            'f6da608f2babc6db66aed83e0ba7e1ce130680b15d2dbe01019cb01c88abc7db')
sha256sums_x86_64=('1a28c214493c69c1a7e65dfc985e95cacda246935ca5e2541e2014cc8e2a9678')
sha256sums_i686=('1a28c214493c69c1a7e65dfc985e95cacda246935ca5e2541e2014cc8e2a9678')
sha256sums_arm=('1a28c214493c69c1a7e65dfc985e95cacda246935ca5e2541e2014cc8e2a9678')
sha256sums_aarch64=('1a28c214493c69c1a7e65dfc985e95cacda246935ca5e2541e2014cc8e2a9678')
sha256sums_armv7=('1a28c214493c69c1a7e65dfc985e95cacda246935ca5e2541e2014cc8e2a9678')

package() {
	install -m755 -D -t "$pkgdir/usr/bin" "$pkgname"
	install -m644 -D -t "$pkgdir/usr/lib/systemd/system" "$pkgname@.service"
	install -m644 -D -t "$pkgdir/usr/lib/systemd/user" "$pkgname.service"
	install -m644 -D -t "$pkgdir/usr/share/licenses/$pkgname" "LICENSE"
}