updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / python-zine / PKGBUILD
blobac509dea5cbb9ded26c8ee6af19e68f807715099
1 # Contributor: Pierre Chapuis <catwell@archlinux.us>
2 # Maintainer: Loren Copeland <thisisquitealongname@gmail.com>
4 pkgname=python-zine
5 pkgver=0.1.2
6 pkgrel=2
7 pkgdesc="Python weblog software"
8 arch=('i686' 'x86_64')
9 url="http://zine.pocoo.org/"
10 license=('custom')
11 depends=('python2' 'python2-werkzeug' 'python-jinja2' 'python2-sqlalchemy-0.5' 
12 'python-simplejson' 'python2-html5lib' 'python2-pytz' 'python-babel' 'python-lxml')
13 optdepends=('python-flup' 'fcgi')
14 source=("http://zine.pocoo.org/releases/Zine-$pkgver.tar.gz" 
15         "configure")
16 md5sums=('ba1f08a2093f42c79e81fff25e5ef17c'
17          'eadfb7db60a76d55d6f25230ce35cf08')
19 build() {
20   cd $srcdir
21   cp -f configure $srcdir/Zine-$pkgver/configure
22   cd Zine-$pkgver
23   ./configure --prefix=/usr --python=/usr/bin/python2.7 || return 1
24   DESTDIR=$pkgdir make install || return 1
25   install -D -m0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt