# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin pkgname=pnews pkgver=2.6.5 _pkgver=265 pkgrel=1 pkgdesc="A PHP web-based NNTP client" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/pnews" license=('GPL') depends=('php') backup=(srv/http/pnews/.htaccess) source=(http://downloads.sourceforge.net/sourceforge/pnews/pnews${_pkgver}.tgz) md5sums=('a98af52f6b86c2ad4fe0610d67770905') build() { _instdir=${startdir}/pkg/srv/http/pnews mkdir -p ${_instdir} cd ${_instdir} cp -ra ${startdir}/src/pnews${_pkgver}/* . echo "deny from all" > .htaccess }