mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
24 lines
893 B
Bash
24 lines
893 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: wizzomafizzo <wizzomafizzo@gmail.com>
|
|
# Contributor: Benjamin Andresen <benny@klapmuetz.org>
|
|
pkgname=phppgadmin
|
|
pkgver=4.2.2
|
|
pkgrel=1
|
|
pkgdesc="A web-based administration tool for PostgreSQL. It is perfect for PostgreSQL DBAs, newbies and hosting services."
|
|
arch=('i686' 'x86_64')
|
|
url="http://sourceforge.net/projects/phppgadmin"
|
|
license=('GPL')
|
|
depends=('php' 'postgresql')
|
|
backup=('srv/http/phpPgAdmin/conf/config.inc.php' \
|
|
'srv/http/phpPgAdmin/.htaccess')
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/phpPgAdmin-$pkgver.tar.gz)
|
|
md5sums=('68280bb47d6420f423578a0a8d731051')
|
|
|
|
build() {
|
|
instdir=$startdir/pkg/srv/http/phppgadmin
|
|
mkdir -p $instdir
|
|
cd $instdir
|
|
cp -ra $startdir/src/phpPgAdmin-$pkgver/* . && \
|
|
cp ./conf/config.inc.php-dist ./conf/config.inc.php && \
|
|
echo "deny from all" >> .htaccess
|
|
}
|