[arch-commits] Commit in phpmyadmin/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Thu May 16 02:18:20 EDT 2013


    Date: Thursday, May 16, 2013 @ 08:18:20
  Author: bpiotrowski
Revision: 90945

upgpkg: phpmyadmin 4.0.1-1

- upstream release

Modified:
  phpmyadmin/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-16 03:44:23 UTC (rev 90944)
+++ PKGBUILD	2013-05-16 06:18:20 UTC (rev 90945)
@@ -5,7 +5,7 @@
 # Contributor: Simon Lackerbauer <calypso "at" strpg.org>
 
 pkgname=phpmyadmin
-pkgver=4.0.0
+pkgver=4.0.1
 pkgrel=1
 pkgdesc='PHP and hence web-based tool to administrate MySQL over the WWW'
 arch=('any')
@@ -16,23 +16,23 @@
 			'python')
 backup=(etc/webapps/phpmyadmin/.htaccess
 		etc/webapps/phpmyadmin/config.inc.php)
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/phpMyAdmin-$pkgver-all-languages.tar.bz2)
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/phpMyAdmin-$pkgver-all-languages.tar.bz2)
 install=$pkgname.install
-sha256sums=('cb9d62f8091daee02de642c3d84aa6dc4aa285272765ee9d61c77bcb3dd089ab')
+sha256sums=('39392864fde2c3e619289885a340cf4a54e009a1b2cf6d0d2026dd4b55945374')
 
 package() {
-  _instdir=$pkgdir/usr/share/webapps/phpMyAdmin
-  mkdir -p ${_instdir} $pkgdir/etc/webapps/phpmyadmin
-  cd ${_instdir}
+  _instdir="$pkgdir"/usr/share/webapps/phpMyAdmin
+  mkdir -p "$_instdir" "$pkgdir"/etc/webapps/phpmyadmin
+  cd "$_instdir"
 
   cp -ra $srcdir/phpMyAdmin-${pkgver}-all-languages/* .
-  echo "deny from all" >$pkgdir/etc/webapps/phpmyadmin/.htaccess
+  echo "deny from all" >"$pkgdir"/etc/webapps/phpmyadmin/.htaccess
 
-  ln -s /etc/webapps/phpmyadmin/.htaccess ${_instdir}/.htaccess
-  ln -s /etc/webapps/phpmyadmin/config.inc.php ${_instdir}/config.inc.php
-  cp ${_instdir}/config.sample.inc.php $pkgdir/etc/webapps/phpmyadmin/config.inc.php
+  ln -s /etc/webapps/phpmyadmin/.htaccess "$_instdir"/.htaccess
+  ln -s /etc/webapps/phpmyadmin/config.inc.php "$_instdir"/config.inc.php
+  cp "$_instdir"/config.sample.inc.php "$pkgdir"/etc/webapps/phpmyadmin/config.inc.php
 
-  cat >$pkgdir/etc/webapps/phpmyadmin/apache.example.conf <<EOF
+  cat >"$pkgdir"/etc/webapps/phpmyadmin/apache.example.conf <<EOF
 	Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
 	<Directory "/usr/share/webapps/phpMyAdmin">
 		AllowOverride All



More information about the arch-commits mailing list