blob: b696d28c6fc0a50c14ebc8af9c1f1d464573bc46 (
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
|
# Maintainer: James Thomas <jgtcode@protonmail.com>
pkgname=borg-import-git
_pkgname=borg-import
pkgver=1
pkgrel=1
pkgdesc='Import backups from some other backup software into Borg'
url='https://borgbackup.github.io/'
license=('BSD')
arch=('x86_64')
depends=('borg' 'fakeroot')
source=(""${_pkgname}::git+https://github.com/borgbackup/${_pkgname}.git"")
sha256sums=('SKIP')
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|