1 # Maintainer: Geoffrey Lehée <socketubs@gmail.com>
2 # Contributor: Geoffrey Lehée <socketubs@gmail.com>
6 pkgdesc="Pyhame is an easy website creator written in Python. "
8 url="http://pyhame.socketubs.net"
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')
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