summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2015-09-30 14:23:36 +0200
committerChristian Hesse2015-09-30 14:23:36 +0200
commit8f74a128c25179f6627c9875eb3cb2ad42ff949a (patch)
tree907955a1d650aa12eb064c8dd81ddda44ae4a734
downloadaur-8f74a128c25179f6627c9875eb3cb2ad42ff949a.tar.gz
initial import of cdist 3.1.13-1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8d658c3ce0c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = cdist
+ pkgdesc = A usable configuration management system
+ pkgver = 3.1.13
+ pkgrel = 1
+ url = https://github.com/ungleich/cdist
+ arch = any
+ license = GPL3
+ makedepends = python-setuptools
+ depends = python
+ depends = openssh
+ source = cdist-3.1.13.tar.gz::https://github.com/ungleich/cdist/archive/3.1.13.tar.gz
+ sha256sums = 2891aec4b84333ad0a4eb523b8cb99c98037106f73937f33faac9a04641ab442
+
+pkgname = cdist
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ec7861cf4e1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Christian Hesse <mail@eworm.de>
+
+pkgname=cdist
+pkgver=3.1.13
+pkgrel=1
+pkgdesc='A usable configuration management system'
+arch=('any')
+url='https://github.com/ungleich/cdist'
+license=('GPL3')
+depends=('python' 'openssh')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ungleich/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('2891aec4b84333ad0a4eb523b8cb99c98037106f73937f33faac9a04641ab442')
+
+prepare() {
+ echo "VERSION = \"${pkgver}\"" > ${pkgname}-${pkgver}/cdist/version.py
+}
+
+build() {
+ cd ${pkgname}-${pkgver}/
+
+ python setup.py build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/
+
+ python setup.py install --root="${pkgdir}"
+}
+