void-packages/srcpkgs/phpMyAdmin/template
2016-01-29 19:29:15 -05:00

23 lines
774 B
Bash

# Template file for 'phpMyAdmin'
pkgname=phpMyAdmin
version=4.5.4.1
revision=1
noarch=yes
build_style=fetch
depends="php php-mysql"
short_desc="Web-based MySQL database administration tool"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="http://www.phpmyadmin.net"
distfiles="https://files.phpmyadmin.net/phpMyAdmin/${version}/phpMyAdmin-${version}-all-languages.tar.gz>${pkgname}-${version}.tar.gz"
checksum=67be627a3daf29611d7bd7f0da6def803b76bfa1f982f6a4c28a05042809ab5e
do_install() {
tar -zxvf ${pkgname}-${version}.tar.gz
vmkdir usr/share/webapps
vcopy ${pkgname}-${version}-all-languages usr/share/webapps/phpmyadmin
vinstall ${FILESDIR}/apache.conf 644 /etc/phpmyadmin/
vinstall ${FILESDIR}/lighttpd.conf 644 /etc/phpmyadmin/
}