summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5dcde0ca02de6e0621088fb63cc9b59a1b4393e3 (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
# Contributor: SanskritFritz (gmail)

pkgname="mbkp-hg"
_pkgname="mbkp"
pkgver=102
pkgrel=1
epoch=1
pkgdesc="Provides modular backups using duplicity."
url="https://bitbucket.org/elifarley/mbkp/wiki/Home"
license=("GPL")
arch=("any")
depends=("duplicity")
makedepends=("mercurial" "perl")
provides=("mbkp")
conflicts=("mbkp")
source=("$_pkgname::hg+https://bitbucket.org/elifarley/mbkp")
md5sums=('SKIP')

pkgver() {
	cd $_pkgname
	hg identify -ni | awk 'BEGIN{OFS=".";} {print $2}'
}

package() {
	cd "$srcdir/$_pkgname/installer"
	./install.sh "$pkgdir/usr"
}