cdist configuration management
Latest manual: https://www.cdi.st/manual/latest/
Home page: https://www.cdi.st
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
488 B
23 lines
488 B
#!/bin/sh |
|
|
|
version=$(git describe) |
|
outfile=${0%.in} |
|
|
|
cat << eof > "${outfile}" |
|
pkgname=cdist |
|
pkgver=$version |
|
pkgrel=1 |
|
pkgdesc='A Usable Configuration Management System"' |
|
arch=('any') |
|
url='http://www.nico.schottelius.org/software/cdist/' |
|
license=('GPL3') |
|
depends=('python>=3.2.0') |
|
source=("http://pypi.python.org/packages/source/c/cdist/cdist-\${pkgver}.tar.gz") |
|
|
|
package() { |
|
cd cdist-\${pkgver} |
|
python3 setup.py build install --root="\${pkgdir}" |
|
} |
|
eof |
|
|
|
makepkg -g >> "${outfile}"
|
|
|