summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa0474dd18179e4fd7839558e7b0e5ffc9c82614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Christian Hesse <mail@eworm.de>

pkgname=cdist
pkgver=4.7.1
pkgrel=1
pkgdesc='A usable configuration management system'
arch=('any')
url='https://github.com/ungleich/cdist'
license=('GPL3')
depends=('python' 'openssh')
makedepends=('python-setuptools')
validpgpkeys=('69767822F3ECC3C349C1EFFFEFD2AE4EC36B6901') # ungleich GmbH (ungleich FOSS) <foss@ungleich.ch>')
source=("https://github.com/ungleich/cdist/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
sha256sums=('6c1bf094f08e89ab103f7b07474728bf9de063ae39184e1c5d9015eaff8a4cd2'
            'SKIP')

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}"
}