2012-10-26 15:53:35 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2013-07-12 18:40:02 +00:00
|
|
|
version="$1"
|
2012-10-26 15:53:35 +00:00
|
|
|
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')
|
2012-10-26 16:13:17 +00:00
|
|
|
depends=('python>=3.2.0')
|
2012-10-26 15:53:35 +00:00
|
|
|
source=("http://pypi.python.org/packages/source/c/cdist/cdist-\${pkgver}.tar.gz")
|
|
|
|
|
|
|
|
package() {
|
2012-10-26 16:13:17 +00:00
|
|
|
cd cdist-\${pkgver}
|
|
|
|
python3 setup.py build install --root="\${pkgdir}"
|
2012-10-26 15:53:35 +00:00
|
|
|
}
|
|
|
|
eof
|
2012-10-26 16:13:17 +00:00
|
|
|
|
|
|
|
makepkg -g >> "${outfile}"
|