20 lines
743 B
Bash
20 lines
743 B
Bash
# Template file for 'phpMyAdmin'
|
|
pkgname=phpMyAdmin
|
|
version=5.2.0
|
|
revision=1
|
|
conf_files="/etc/webapps/phpMyAdmin/config.inc.php"
|
|
depends="php mariadb"
|
|
short_desc="Web interface for MySQL and MariaDB"
|
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://www.phpmyadmin.net"
|
|
distfiles="https://files.phpmyadmin.net/phpMyAdmin/${version}/phpMyAdmin-${version}-all-languages.tar.xz"
|
|
checksum=66da31ca295f06182ac3f2e6e96057dc824c459baedf4b29de6ed0d3be039230
|
|
|
|
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/
|
|
}
|