void-packages/srcpkgs/phpMyAdmin/template

22 lines
805 B
Bash
Raw Normal View History

2019-04-19 13:57:51 +00:00
# Template file for 'phpMyAdmin'
pkgname=phpMyAdmin
2019-07-02 22:24:26 +00:00
version=4.9.0.1
2019-04-19 13:57:51 +00:00
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"
2019-07-02 22:24:26 +00:00
checksum=e3de59f913c095433c8f6466f8826dfde09b097cfac78b665ddef9ddc03b0ed6
2019-04-19 13:57:51 +00:00
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/
}