# Maintainer: Márcio Silva _pkgname=git pkgname=gitweb pkgver=1.8.3.4 pkgrel=1 pkgdesc="web gui for the $_pkgname" arch=( mips64el x86_64 i686 ) backup=etc/httpd/conf/extra/httpd-$pkgname.conf install=$pkgname.install url=http://$_pkgname-scm.com/ license=GPL2 depends=( curl 'expat>=2.0' $_pkgname=$pkgver 'perl>=5.10.0' perl-error ) source=( http://$_pkgname-core.googlecode.com/files/$_pkgname-$pkgver.tar.gz httpd-$pkgname.conf ) sha512sums=( 84d2d70622d19200594f4ea8550f00c3bd46657381ea953a2171172faf27ffa8be30c9249e1ed93d983826880c7e78a76884c841212338efdfb7ab38713bdbe1 9de5078d5782095e3f9e3a0b6e866b03f035b17ce4b5153cd4b994e14d13c80ee905b6b19014571670ea934b68f18222d8a22e5761220e98e651e1accd0477ba ) build() { cd $srcdir/$_pkgname-$pkgver make configure ./configure --prefix=/usr make ${pkgname^^}_PROJECTROOT=/srv/$_pkgname $pkgname } package() { cd $srcdir/$_pkgname-$pkgver make DESTDIR=$pkgdir gitwebdir=/srv/http/$pkgname install-$pkgname install -vDm644 $srcdir/httpd-$pkgname.conf $pkgdir/etc/httpd/conf/extra/httpd-$pkgname.conf } # vim:set ts=2 sw=2 et: