4 pkgdesc="Viewcvs, a web interface to cvs and subversion"
5 url="http://viewcvs.sourceforge.net/"
7 depends=('apache' 'python' 'enscript' 'diffutils' 'rcs' )
8 makedepends=('cvs' 'subversion' 'patch')
12 install=install.viewcvs
13 source=(http://viewvc.tigris.org/files/documents/3330/27671/$pkgname-$pkgver.tar.gz \
14 viewcvs-install.patch)
17 cd $startdir/src/$pkgname-$pkgver
19 # patch to install in $startdir/pkg
20 patch -Np0 -i ../viewcvs-install.patch || return 1
21 sed -i "s@__ROOTDIR@/usr/share/${pkgname}-${pkgver}@g" viewcvs-install
22 sed -i "s@__DESTROOTDIR@${startdir}/pkg/usr/share/${pkgname}-${pkgver}@" viewcvs-install
26 install -m 755 -d $startdir/pkg/home/httpd/cgi-bin
27 install -m 755 $startdir/pkg/usr/share/$pkgname-$pkgver/cgi/query.cgi $startdir/pkg/home/httpd/cgi-bin/
28 install -m 755 $startdir/pkg/usr/share/$pkgname-$pkgver/cgi/viewcvs.cgi $startdir/pkg/home/httpd/cgi-bin/
30 md5sums=('a1a09922165f2e2fec08527cdd18b76f' 'b6afe613f412ec1683fc0a2b9a2381ce')