updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vzpkg / PKGBUILD
blob65530ee43074f15d70a4c8cc86ef6426f87911db
1 # Maintainer: Jonny Gerold <fsk141@gmail.com>
3 pkgname=vzpkg
4 pkgver=2.7.0
5 _patchver=18
6 pkgrel=2
7 pkgdesc="OpenVZ VPS package tools"
8 arch=('i686' 'x86_64')
9 url="http://openvz.org/"
10 license=('GPL')
11 depends=('yum')
12 makedepends=('gcc')
13 options=(!strip)
14 source=(http://download.openvz.org/template/utils/$pkgname/$pkgver-${_patchver}/src/$pkgname-$pkgver-${_patchver}.tar.bz2
15         vzpkg-paths.patch)
16 md5sums=('3ce22962f7b1c82252948e7365ebc89f'
17          '8f8623bfe1126ef2dd597b0cec3c919a')
19 build() {
20   cd "$startdir/src/$pkgname-$pkgver-${_patchver}"
22   patch -Np0 < ../vzpkg-paths.patch
24   make DESTDIR="$startdir/pkg" install