[arch-commits] Commit in ansible-bender/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Tue Mar 24 21:42:44 UTC 2020


    Date: Tuesday, March 24, 2020 @ 21:42:43
  Author: ffy00
Revision: 603935

upgpkg: ansible-bender 0.8.1-1

Added:
  ansible-bender/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-24 21:42:43 UTC (rev 603935)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=ansible-bender
+pkgver=0.8.1
+pkgrel=1
+pkgdesc='Tool which bends containers using Ansible playbooks and turns them into container images'
+arch=('any')
+url='https://github.com/ansible-community/ansible-bender'
+license=('MIT')
+depends=('ansible' 'python-yaml' 'python-tabulate' 'python-jsonschema')
+optdepends=('podman: podman backend'
+            'buildah: buildah backend')
+makedepends=('python-setuptools-scm' 'git')
+#source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+source=("git+$url?tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+  #cd $pkgname-$pkgver
+  cd $pkgname
+
+  python setup.py build
+}
+
+package() {
+  #cd $pkgname-$pkgver
+  cd $pkgname
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list