pkgname=phpmyadmin _dlversion=2.9.1.1 pkgver=$(echo ${_dlversion} | sed 's/-//') pkgrel=35 pkgdesc="A PHP and hence web-based tool to administrate MySQL over the WWW" arch=(i686 x86_64) url="http://www.phpmyadmin.net" depends=('php' 'mysql') backup=(data/srv/httpd/htdocs/phpMyAdmin/config.inc.php) source=(http://easynews.dl.sourceforge.net/sourceforge/${pkgname}/phpMyAdmin-${_dlversion}-all-languages.tar.bz2) build() { _instdir=${startdir}/pkg/data/srv/httpd/htdocs/phpMyAdmin mkdir -p ${_instdir} cd ${_instdir} cp -ra ${startdir}/src/phpMyAdmin-${_dlversion}-all-languages/* . }