blob: cfe563a7807627236bb2fc3afe1b15f6eb85d533 (
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
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible
pkgver=1.9.3
pkgrel=1
pkgdesc="A configuration-management, deployment, task-execution, and multinode orchestration framework"
url="http://ansible.com"
arch="noarch"
license="GPL3+"
depends="python py-yaml py-paramiko py-jinja2 py-markupsafe"
makedepends="python-dev py-setuptools"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
mkdir -p "$pkgdir"/usr/share/man/man1
_manpages="$pkgname-playbook.1 $pkgname.1"
for _manpage in "$_builddir"/docs/man/man1/*.1; do
install -Dm644 "$_manpage" "$pkgdir"/usr/share/man/man1/ || return 1
done
}
md5sums="55be10fca4e9e0172a15e88874028eff ansible-1.9.3.tar.gz"
sha256sums="2594f642fd800056a427c1026410dc6ed8dfa7c0033f5c3d187abdb2b0d4eeed ansible-1.9.3.tar.gz"
sha512sums="280d7506417affc11fe8c8715f82ffb011991e48e96db73aca915e1393d51073564c78a98b018c380b7fb8e697ce0fac6208822da44f2bac545f142707325d43 ansible-1.9.3.tar.gz"
|