[arch-commits] Commit in ansible-bender/repos (community-any community-any/PKGBUILD)

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


    Date: Tuesday, March 24, 2020 @ 21:42:53
  Author: ffy00
Revision: 603936

archrelease: copy trunk to community-any

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

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

Copied: ansible-bender/repos/community-any/PKGBUILD (from rev 603935, ansible-bender/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-03-24 21:42:53 UTC (rev 603936)
@@ -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