[arch-commits] Commit in ansible-bender/repos (2 files)

George Rawlinson grawlinson at archlinux.org
Mon Jun 28 04:35:41 UTC 2021


    Date: Monday, June 28, 2021 @ 04:35:41
  Author: grawlinson
Revision: 967657

archrelease: copy trunk to community-testing-any

Added:
  ansible-bender/repos/community-testing-any/
  ansible-bender/repos/community-testing-any/PKGBUILD
    (from rev 967656, ansible-bender/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: ansible-bender/repos/community-testing-any/PKGBUILD (from rev 967656, ansible-bender/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-06-28 04:35:41 UTC (rev 967657)
@@ -0,0 +1,27 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=ansible-bender
+pkgver=0.9.0
+pkgrel=1
+pkgdesc='Build container images using Ansible playbooks'
+arch=('any')
+url='https://github.com/ansible-community/ansible-bender'
+license=('MIT')
+depends=('ansible' 'python-yaml' 'python-tabulate' 'python-jsonschema' 'podman' 'buildah')
+makedepends=('python-setuptools-scm' 'git' 'python-pip' 'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+b2sums=('9bf2095da798ffb0d3eff4ce2f84b9f96d04fd6526ba7ee559cd7009e501b823e5f64076d201d11f8be9995a3fb721cce69f366d195e564e5defc0cadef18189')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  python setup.py build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -vDm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}




More information about the arch-commits mailing list