aboutsummaryrefslogtreecommitdiffstats
path: root/testing/backup-manager/APKBUILD
blob: 129d26df28583b6716e065f859ad9286e496185c (plain) (blame)
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
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname="backup-manager"
pkgver="0.7.15"
pkgrel=0
pkgdesc="Backup Manager is a command line backup tool for GNU/Linux"
url="https://github.com/sukria/Backup-Manager"
arch="noarch"
license="GPL-2.0-only"
depends="gettext perl bash"
makedepends="perl-file-slurp"
options="!check" # tests not works due to dar archiver missing
source="$pkgname-$pkgver.tar.gz::https://github.com/sukria/Backup-Manager/archive/$pkgver.tar.gz"
builddir="$srcdir/Backup-Manager-$pkgver"

prepare() {
	sed -e "/^PERL5DIR/s/sitelib/vendorlib/" \
		-e "/sed/s:=\$(DESTDIR)/:=:" \
		-i Makefile
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install_binary
	install -Dm644 "$builddir/backup-manager.conf.tpl" "$pkgdir/etc/backup-manager.conf.tpl"
}

sha512sums="13e50e5e12de0b9397d26e8a20f260fe7974838cc8e4d61d7b7bbf3f888418b6f1cf254a4bfd4a87679d6c8d0f9f14533275acd975cf9dd6a9b29155d01dcd97  backup-manager-0.7.15.tar.gz"