Hi All!

I create a phppgadmin package, and post it here. I am new in
frugalware, i want to help to compile packages. This is my first try,
so if something is not on the right place, tell me what must i change.

Thanl you! And i hope enjoy the pack.
# Compiling Time: 0.01 SBU
# Contributor: Kovács Richárd <[EMAIL PROTECTED]>
# Maintainer: 

pkgname=phppgadmin
pkgver=4.2
pkgrel=1kalgan1
pkgdesc="Set of PHP-scripts to administrate PostgreSQL over the WWW."
url="http://phppgadmin.sourceforge.net/";
rodepends=('php')
backup=(var/www/html/phppgadmin/conf/config.inc.php)
groups=('network-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump $url|grep latest|sed -r 's/[ :a-zA-Z]*\[[ 0-9]*\]//'|sed -r 
's/[ ][\(][ 0-9]*[ a-zA-Z]*[ 0-9]*[\) ]*//' | sed -r 's/[ ]*//'"
source=(http://dfn.dl.sourceforge.net/sourceforge/phppgadmin/phpPgAdmin-$pkgver.tar.bz2)

build()
{
        Fmkdir /var/www/html
        Ffile phpPgAdmin-$pkgver.tar.bz2 /var/www/html
        cd $Fdestdir/var/www/html
        tar -xjf phpPgAdmin-$pkgver.tar.bz2
        Fln phpPgAdmin-4.2 /var/www/html/phppgadmin
        Fdocrel $pkgname/FAQ
        Fsed "= 'config';" "= 'http';" \
                $Fdestdir/var/www/html/phppgadmin/conf/config.inc.php
        Frm /var/www/html/phpPgAdmin-$pkgver.tar.bz2
}

sha1sums=('ba15c44a4dc138e8f524e02d5803cf71beffa645')
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to