blob: 3680c720fc89f5667bd215f12353d6649fc4ae3b (
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
41
42
43
44
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible
pkgver=2.1.2.0
pkgrel=0
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="python2-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
install -Dm644 "$builddir"/docs/man/man1/*.1 \
"$pkgdir"/usr/share/man/man1/ || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples
for f in examples/*; do
install -m644 "${f}" "$pkgdir"/usr/share/doc/$pkgname/examples/
done
install -m644 README.md "$pkgdir"/usr/share/doc/$pkgname || return 1
install -m644 lib/ansible/modules/core/README.md \
"$pkgdir"/usr/share/doc/$pkgname/README.core.md || return 1
install -m644 lib/ansible/modules/extras/README.md \
"$pkgdir"/usr/share/doc/$pkgname/README.extras.md || return 1
}
md5sums="2b086b5b91d89c4124d0c1e39ac7ff59 ansible-2.1.2.0.tar.gz"
sha256sums="9c37a7bd397c05ab8ca3fcc49417649ea49b9133d4cd9500408235617d1621eb ansible-2.1.2.0.tar.gz"
sha512sums="5637a7ee82ef6b5377bb0daafd215df3e5c54be7b84d49bfea1f5584090e4f3831a20c206f41816f879ea961d7d6eb461e954d4f4d84bfb875c030585e8f8c2e ansible-2.1.2.0.tar.gz"
|