cdist-backup/PKGBUILD.in
Nico Schottelius b2e46e3429 have pkgbuild.in depend on $@
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 20:40:02 +02:00

23 lines
477 B
Bash
Executable file

#!/bin/sh
version="$1"
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}"