void-packages/srcpkgs/phpMyAdmin/template
2019-04-19 12:52:56 -03:00

21 lines
803 B
Bash

# Template file for 'phpMyAdmin'
pkgname=phpMyAdmin
version=4.8.5
revision=1
archs=noarch
wrksrc="phpMyAdmin-${version}-all-languages"
conf_files="/etc/webapps/phpMyAdmin/config.inc.php"
depends="php mysql"
short_desc="Web interface for MySQL and MariaDB"
maintainer="Franc[e]sco <lolisamurai@tfwno.gf>"
license="GPL-2.0-or-later"
homepage="https://www.phpmyadmin.net"
distfiles="https://files.phpmyadmin.net/phpMyAdmin/${version}/phpMyAdmin-${version}-all-languages.tar.xz"
checksum=d7ab5df4e464d7ba17bf2a42da7d7f26dad45c34bf321ac8ae7d2ed748413913
do_install() {
vmkdir usr/share/webapps/
vcopy ${wrksrc} usr/share/webapps/phpMyAdmin
vinstall config.sample.inc.php 644 /etc/webapps/phpMyAdmin/ config.inc.php
ln -s /etc/webapps/phpMyAdmin/config.inc.php ${DESTDIR}/usr/share/webapps/phpMyAdmin/
}