From cbd44a883780d7ec541b07eea9fde7305d941cff Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 26 Oct 2012 17:53:35 +0200 Subject: [PATCH] begin initial PKGBUILD for archlinux Signed-off-by: Nico Schottelius --- PKGBUILD.in | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 PKGBUILD.in diff --git a/PKGBUILD.in b/PKGBUILD.in new file mode 100755 index 00000000..8e55946f --- /dev/null +++ b/PKGBUILD.in @@ -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