blob: 353d025457ad25a905cf72a1767b61970b7a6139 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-appliancekit-ng
pkgver=0.5.1
pkgrel=0
pkgdesc="abstract appliance image builder"
url="http://bitbucket.org/tortoiselabs/appliancekit-ng"
arch="noarch"
license="ISC"
depends="python py-jinja2"
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/A/ApplianceKit-NG/ApplianceKit-NG-$pkgver.tar.gz"
_builddir="$srcdir"/ApplianceKit-NG-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="197875ec69fb615c34cf65146e281d02 ApplianceKit-NG-0.5.1.tar.gz"
sha256sums="74cc693b79f24f426115878c8a2ff5f71c8a4ce351767886f53d2a9aa5cd8022 ApplianceKit-NG-0.5.1.tar.gz"
sha512sums="7b51061369dd5893cf0f97a43b2aef92e862c20645e25fa769954dd8bdff623ec81e13c2ac1650ab7af5a719bffa7e2f57d735a3d75cfebaa8a43055353cfd13 ApplianceKit-NG-0.5.1.tar.gz"
|