forked from ungleich-public/cdist
begin initial PKGBUILD for archlinux
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
6627325b45
commit
cbd44a8837
1 changed files with 26 additions and 0 deletions
26
PKGBUILD.in
Executable file
26
PKGBUILD.in
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
version=$(git describe)
|
||||||
|
version=2.1.0pre1
|
||||||
|
|
||||||
|
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=('python3>=3.2.0')
|
||||||
|
source=("http://pypi.python.org/packages/source/c/cdist/cdist-\${pkgver}.tar.gz")
|
||||||
|
|
||||||
|
package() {
|
||||||
|
python3 setup.py build install --root="${pkgdir}"
|
||||||
|
|
||||||
|
#install -Dm644 offlineimap.1 "${pkgdir}"/usr/share/man/man1/offlineimap.1
|
||||||
|
#install -Dm644 offlineimap.conf "${pkgdir}"/usr/share/offlineimap/offlineimap.conf
|
||||||
|
#install -Dm644 offlineimap.conf.minimal "${pkgdir}"/usr/share/offlineimap/offlineimap.conf.minimal
|
||||||
|
}
|
||||||
|
eof
|
Loading…
Reference in a new issue