updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / archipel-agent / PKGBUILD
blob4beaed4510fe59533f131fb8597e2cc81c26f089
1 # Maintainer: Shanto <shanto@hotmail.com>
3 pkgname=archipel-agent
4 _pkgver=beta4
5 pkgver=0.4.0.beta
6 pkgrel=1
7 pkgdesc="A solution to manage and supervise virtual machines. (Agent)"
8 arch=(any)
9 url="http://archipelproject.org/"
10 license=('AGPL')
11 depends=(
12   python2 python2-{apscheduler,sqlalchemy,numpy,magic,ctypes}
13   libvirt qemu-kvm python-imaging xmpppy
15 #makedepends=()
16 #checkdepends=()
17 #optdepends=()
18 #provides=()
19 #conflicts=()
20 #replaces=()
21 #backup=()
22 options=(!strip !emptydirs)
23 install=install.sh
24 #changelog=
25 source=(
26   "$pkgname-$_pkgver.zip::https://github.com/primalmotion/Archipel/zipball/@$_pkgver"
27   "initscript.patch"
29 #noextract=()
30 md5sums=('8d26accd4325f7a90e1fa4d05e44c8f2'
31          '23a695033736bfb474024fc4c614ca31')
33 package() {
34   cd `find $srcdir -type d -name ArchipelAgent -print -quit`
35   patch -p1 --input $srcdir/initscript.patch
36   for mod in archipel-core archipel-agent-* archipel-agent; do
37     pushd $mod 1>/dev/null
38     python2 setup.py install --root="$pkgdir/" --optimize=1
39     popd 1>/dev/null
40   done;
41   _datadir=$pkgdir/usr/share/archipel
42   mkdir -p $_datadir
43   mv $pkgdir/usr/install $_datadir/
46 # vim:set ts=2 sw=2 et: