From daa4baeb20185b9ffe95bb23b7ccc47208131838 Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 19 Apr 2019 15:57:51 +0200 Subject: [PATCH] New package: phpMyAdmin-4.8.5 --- srcpkgs/phpMyAdmin/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/phpMyAdmin/template diff --git a/srcpkgs/phpMyAdmin/template b/srcpkgs/phpMyAdmin/template new file mode 100644 index 00000000000..b05690865b9 --- /dev/null +++ b/srcpkgs/phpMyAdmin/template @@ -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 " +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/ +}