Subject: [alpine-aports] [PATCH] testing/cdist: new aport

From: [email-masked]
Date: Wed, 12 Dec 2018 21:15:43 -0500

From: Lucas Ramage <[email-masked]>

A Usable Configuration Management System
https://nico.schottelius.org/software/cdist/
---
 testing/cdist/APKBUILD | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 testing/cdist/APKBUILD

diff --git a/testing/cdist/APKBUILD b/testing/cdist/APKBUILD
new file mode 100644
index 0000000000..65c0a8d0f7
--- /dev/null
+++ b/testing/cdist/APKBUILD
@@ -0,0 +1,20 @@
+# Contributor: Lucas Ramage <[email-masked]>
+# Maintainer: Lucas Ramage <[email-masked]>
+pkgname=cdist
+pkgver=4.10.4
+pkgrel=0
+pkgdesc="A Usable Configuration Management System"
+arch="noarch"
+url="https://www.nico.schottelius.org/software/cdist/"
+options="!check"
+license="GPL-3.0"
+depends="python3"
+source="https://github.com/ungleich/${pkgname}/releases/download/4.10.4/${pkgname}-${pkgver}.tar.gz"
+
+package() {
+    ./bin/${pkgname} 2> /dev/null
+    python3 setup.py build install --root="${pkgdir}"
+    find "$pkgdir" -type d -exec chmod 0755 {} \;
+    find "$pkgdir" -type f -exec chmod a+r {} \;
+}
+sha512sums="19b6bd824352d77f331a2bb1bec83066fb328550249068c8037e47e9e51aba743d96119cffd5fcdefb99d1f69444fb7c608a563dfcbccfc3f2e2700fee103636  cdist-4.10.4.tar.gz"
-- 
2.19.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---