# $Id: PKGBUILD 188 2009-07-20 09:05:18Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Rubin Simons pkgname=trac pkgver=0.11.5 pkgrel=1 pkgdesc="Trac Integrated SCM & Project Management using Apache & Subversion." arch=('i686' 'x86_64') url="http://trac.edgewall.org/" license=('BSD') depends=(python setuptools python-genshi) makedepends=(clearsilver) install=trac.install backup=("etc/conf.d/tracd.conf") source=(http://ftp.edgewall.com/pub/trac/Trac-$pkgver.tar.gz \ license.txt \ tracd \ tracd.conf) md5sums=('c8042490096a49478580fd599ad26322' 'af9a4064fd7a5759fee0fc288f749977' 'd16c2353a9d14a1d0692666ebb92ab0c' '67db455554d661c725baf3057bd13534') build() { cd $startdir/src/Trac-$pkgver python setup.py install --prefix=/usr --root=$startdir/pkg && \ install -D -m755 ../tracd ${startdir}/pkg/etc/rc.d/tracd && \ install -D -m644 ../tracd.conf $startdir/pkg/etc/conf.d/tracd.conf && \ install -D -m644 ../license.txt ${startdir}/pkg/usr/share/licenses/trac/license.txt && \ install -D -m0755 cgi-bin/trac.cgi ${startdir}/pkg/usr/share/trac/trac.cgi && \ install -D -m0755 cgi-bin/trac.fcgi ${startdir}/pkg/usr/share/trac/trac.fcgi }