PKGBUILDs/community/pnews/PKGBUILD

24 lines
625 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
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
}