forked from ungleich-public/cdist
195036b710
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
26 lines
633 B
Bash
Executable file
26 lines
633 B
Bash
Executable file
#!/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}"
|
|
mv "\${pkgdir}"/usr/bin/cdist.py "\${pkgdir}"/usr/bin/cdist
|
|
|
|
#install -Dm644 offlineimap.1 "\${pkgdir}"/usr/share/man/man1/offlineimap.1
|
|
}
|
|
eof
|
|
|
|
makepkg -g >> "${outfile}"
|