diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-03-12 00:08:10 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-03-12 00:08:10 -0300 |
commit | 285ed17ae15f5ccc02a81bb0f6de23daa5ed8a14 (patch) | |
tree | 81c0536eabedd15b826084bfbdc41b67d8dcc8e0 /social/python2-cheetah/PKGBUILD | |
parent | 78774b86dcb77599ec3def35a6d70591cb0a1b87 (diff) | |
parent | a87bb67621f30b249213bd8e0edf5c480a0cd6b8 (diff) | |
download | abslibre-285ed17ae15f5ccc02a81bb0f6de23daa5ed8a14.tar.gz abslibre-285ed17ae15f5ccc02a81bb0f6de23daa5ed8a14.tar.bz2 abslibre-285ed17ae15f5ccc02a81bb0f6de23daa5ed8a14.zip |
Merge ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'social/python2-cheetah/PKGBUILD')
-rw-r--r-- | social/python2-cheetah/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/social/python2-cheetah/PKGBUILD b/social/python2-cheetah/PKGBUILD new file mode 100644 index 000000000..34ce863a8 --- /dev/null +++ b/social/python2-cheetah/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com> +# Contributor: James Rayner <james@archlinux.org> +# Contributor: Todd Maynard <arch@toddmaynard.com> +# Source: https://github.com/nicoulaj/archlinux-packages +pkgname=python2-cheetah +pkgver=2.4.4 +pkgrel=4 +pkgdesc="A Python-powered template engine and code generator" +arch=(i686 x86_64) +url="http://www.cheetahtemplate.org" +license=(custom) +depends=(python2 python-markdown) +makedepends=(python2-distribute) +optdepends=('python2-pygments: for the CodeHighlighter filter') +provides=(cheetah python-cheetah) +conflicts=(cheetah python-cheetah) +changelog=Changelog +source=(http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${pkgver}.tar.gz) +md5sums=('853917116e731afbc8c8a43c37e6ddba') + +build() { + cd "${srcdir}/Cheetah-${pkgver}" + python2 setup.py build +} + +package() { + msg "Install..." + cd "${srcdir}/Cheetah-${pkgver}" + python2 setup.py install --root="${pkgdir}" || return 1 + + msg2 "Install copyright resources in /usr/share/licenses/${pkgname}..." + install -Dm644 "${srcdir}/Cheetah-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |