summaryrefslogtreecommitdiff
path: root/network/phpmyadmin/phpmyadmin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/phpmyadmin/phpmyadmin.SlackBuild')
-rw-r--r--network/phpmyadmin/phpmyadmin.SlackBuild19
1 files changed, 7 insertions, 12 deletions
diff --git a/network/phpmyadmin/phpmyadmin.SlackBuild b/network/phpmyadmin/phpmyadmin.SlackBuild
index f5c98f79de..7da9da9676 100644
--- a/network/phpmyadmin/phpmyadmin.SlackBuild
+++ b/network/phpmyadmin/phpmyadmin.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for phpmyadmin
# Home Page http://www.phpmyadmin.net/
-# Copyright (c) 2009-2014, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2009-2015, Nishant Limbachia, Hoffman Estates, IL, USA
# <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
#
@@ -28,7 +28,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM="phpmyadmin"
-VERSION=${VERSION:-4.3.3}
+VERSION=${VERSION:-4.4.7}
ARCH="noarch" # hardcode ARCH
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,22 +56,17 @@ mv $SRCNAM $TMP/$PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/$DOCROOT
cp -a $TMP/$PRGNAM-$VERSION $PKG/$DOCROOT/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE README* ChangeLog \
- $PKG/usr/doc/$PRGNAM-$VERSION
-
-# move examples to doc directory
-mv $PKG/$DOCROOT/$PRGNAM/examples $PKG/usr/doc/$PRGNAM-$VERSION
-
+cp -a LICENSE README* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+
# Change ownership and perms and create a link.
chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM
chmod 0750 $PKG/$DOCROOT/$PRGNAM