22 lines
805 B
Bash
22 lines
805 B
Bash
# Template file for 'phpMyAdmin'
|
|
pkgname=phpMyAdmin
|
|
version=4.9.0.1
|
|
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=e3de59f913c095433c8f6466f8826dfde09b097cfac78b665ddef9ddc03b0ed6
|
|
|
|
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/
|
|
}
|