updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / vzdump / PKGBUILD
blob4ffb82bcfd78ae4ae3058cdac63e9ed505ec9e29
1 # Maintainer:   Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
2 # Contributor:  Michal Karas <largon@largon.net>
4 pkgname=vzdump
5 pkgver=20110913
6 _pkgver="${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}"
7 pkgrel=1
8 pkgdesc="OpenVZ container consistent snapshot utility"
9 arch=("i686" "x86_64")
10 url="http://download.openvz.org/contrib/utils/vzdump/"
11 license=("GPL")
12 depends=("cstream" "lvm2" "perl-lockfile-simple" "vzctl")
13 optdepends=("smtp-server: for sending mail notifications")
14 source=("http://download.proxmox.com/sources/${pkgname}_${_pkgver}.tar.gz")
15 md5sums=("efed9fc7b6851cbd4537627bc8c715b0")
17 build() {
18   cd "${srcdir}/${pkgname}_${_pkgver}"
20   make dist
23 package() {
24   cd "${srcdir}/${pkgname}_${_pkgver}"
26   make DESTDIR="${pkgdir}" PERLLIBDIR=/usr/share/perl5/vendor_perl/PVE/ install