aboutsummaryrefslogtreecommitdiffstats
path: root/main/phpmyadmin/APKBUILD
diff options
context:
space:
mode:
authorLeslie P. Polzer <polzer@port-zero.com>2013-10-31 16:58:04 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-01 16:01:14 +0000
commit628789b8e594b85524727c70ba4060e05be5804c (patch)
treecf370bac088d16ce1aabda6c4398eab1fa4ba5d8 /main/phpmyadmin/APKBUILD
parent2295401d111c352c5278d2da3a5f386759e5edd2 (diff)
downloadaports-628789b8e594b85524727c70ba4060e05be5804c.tar.bz2
aports-628789b8e594b85524727c70ba4060e05be5804c.tar.xz
main/phpmyadmin: fix permissions and runtime dependencies.
Diffstat (limited to 'main/phpmyadmin/APKBUILD')
-rw-r--r--main/phpmyadmin/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/phpmyadmin/APKBUILD b/main/phpmyadmin/APKBUILD
index a3a7cbd18f..65c5867e23 100644
--- a/main/phpmyadmin/APKBUILD
+++ b/main/phpmyadmin/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=phpmyadmin
pkgver=4.0.8
-pkgrel=1
+pkgrel=2
pkgdesc="A Web-based PHP tool for administering MySQL"
url="http://www.phpmyadmin.net/"
arch="noarch"
license="GPL"
-depends="php php-mysql php-zip php-zlib php-bz2 php-ctype php-gd php-mcrypt"
+depends="php php-mysqli php-zip php-zlib php-bz2 php-ctype php-gd php-mcrypt php-json"
depends_dev=
makedepends="$depends_dev"
install="$pkgname.post-install"
@@ -39,7 +39,7 @@ package() {
|| return 1
# copy phpmyadmin
- cp -ra "$_builddir"/* "$pkgdir"/usr/share/webapps/$pkgname/ \
+ cp -r "$_builddir"/* "$pkgdir"/usr/share/webapps/$pkgname/ \
|| return 1
# install the sample config
@@ -47,7 +47,7 @@ package() {
"$pkgdir"/usr/share/webapps/$pkgname/config.sample.inc.php \
"$pkgdir"/etc/$pkgname/config.inc.php \
|| return 1
- ln -fs /etc/$pkgname/config.inc.php \
+ ln -sf /etc/$pkgname/config.inc.php \
"$pkgdir"/usr/share/webapps/$pkgname/config.inc.php \
|| return 1