updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / pyhame / PKGBUILD
blob2dd5acc68052ac3fc3f34ac05fc6fbde4ebb6fad
1 # Maintainer: Geoffrey Lehée <socketubs@gmail.com>
2 # Contributor: Geoffrey Lehée <socketubs@gmail.com>
3 pkgname=pyhame
4 pkgver=0.8.0
5 pkgrel=1
6 pkgdesc="Pyhame is an easy website creator written in Python. "
7 arch=(any)
8 url="http://pyhame.socketubs.net"
9 license=('BSD')
10 depends=('python' 'python3-jinja2')
11 conflicts=('pyhame-git')
12 replaces=('pyhame-git')
13 install=(info.install)
14 source=(http://redmine.socketubs.net/attachments/download/5/$pkgname-$pkgver-$pkgrel.tar.gz)
15 md5sums=('c09d697f5f5eaf54b3d1b9939d4b67cd')
17 build() {
18         cd $srcdir/$pkgname
19         mkdir -p $pkgdir/usr/lib/$pkgname
20         mkdir -p $pkgdir/usr/bin
21         cp -R pyhame.py resources $pkgdir/usr/lib/$pkgname
22         echo -e '#!/bin/sh \nexec /usr/lib/pyhame/pyhame.py $1' > $pkgdir/usr/bin/$pkgname
23         chmod +x $pkgdir/usr/bin/$pkgname