New package: phpMyAdmin-4.8.5

This commit is contained in:
Franc[e]sco 2019-04-19 15:57:51 +02:00 committed by maxice8
parent b5f7e8be7a
commit daa4baeb20
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# 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/
}