blob: 5bfbeccf5a70a513b07b8a8f05615414f19e090e (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible
pkgver=1.9.4
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="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
install -Dm644 "$_builddir"/docs/man/man1/*.1 \
"$pkgdir"/usr/share/man/man1/ || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
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="ad411285d4a78e78e3a49f4ee2c7cc3f ansible-1.9.4.tar.gz"
sha256sums="972c2face49f1577bd0ff7989440bfe2820e66fb10d7579915cc536bccfa6fe3 ansible-1.9.4.tar.gz"
sha512sums="53ef5b3390be620cedc92687c7c9853c42f38547494f9b77056d5ea48ccd8f43d193648a7f4569fcba5afad343a9202b123296ab47c8cd02eecfe455d83b9586 ansible-1.9.4.tar.gz"
|