summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2016-06-05 14:45:47 -0400
committerChris Severance2016-06-05 14:45:47 -0400
commitbb1617d05b9e5e6b655dc87544c6d8b509647b31 (patch)
tree6903e17a3217520ac083f9c8b775d0980f9325d7
parent22c0bae5dd2dea7bb25baf3627f38e36e89a0c85 (diff)
downloadaur-bb1617d05b9e5e6b655dc87544c6d8b509647b31.tar.gz
Update to 4.2.5
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd9d77b44b9a..65ada9548925 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Feb 14 17:45:34 UTC 2016
+# Sun Jun 5 18:45:36 UTC 2016
pkgbase = adminer-editor
pkgdesc = Database data editing tool written in PHP
- pkgver = 4.2.4
+ pkgver = 4.2.5
pkgrel = 1
url = https://www.adminer.org/en/editor/
install = adminer-editor.install
@@ -14,8 +14,8 @@ pkgbase = adminer-editor
optdepends = postgresql
optdepends = sqlite
optdepends = sqlite2
- source = https://www.adminer.org/static/download/4.2.4/editor-4.2.4.php
- sha256sums = 815db1d5f6fc5ab21a22dff618339b544b99834b7d8b2048a7dbc1699a004736
+ source = https://www.adminer.org/static/download/4.2.5/editor-4.2.5.php
+ sha256sums = 00a29ceda73e1feafc79d41d94ca98c497dabb257a89a013fbb15ffa09c46e14
pkgname = adminer-editor
diff --git a/PKGBUILD b/PKGBUILD
index 459a7e102cc4..0a1acce9523a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,8 @@
# TODO: The editor is stuck in the first database and won't let me into any others.
-[ ! -s 'PKGBUILD.local' ] && cat > 'PKGBUILD.local' << EOF
+if [ ! -s 'PKGBUILD.local' ]; then
+ cat > 'PKGBUILD.local' << EOF
# adminer-editor or another name for your link
_opt_WWWName='adminer-editor' # default: adminer-editor
#_opt_WWWName=''
@@ -17,14 +18,17 @@ _opt_HexCode='' # default: blank
# A change to either of these and you must restart httpd
EOF
+fi
. 'PKGBUILD.local'
set -u
-test ! -z "${_opt_HexCode}" && _opt_HexCode="-${_opt_HexCode}"
+if [ ! -z "${_opt_HexCode}" ]; then
+ _opt_HexCode="-${_opt_HexCode}"
+fi
_pkgname='adminer-editor'
pkgname="${_pkgname}"
-pkgver=4.2.4
+pkgver=4.2.5
pkgrel=1
pkgdesc='Database data editing tool written in PHP'
arch=('any')
@@ -36,7 +40,7 @@ _verwatch=("${url}" '/static/download/[0-9\.]\+/editor-\([0-9\.]\+\).php' 'l')
install="${_pkgname}.install"
#source=("http://downloads.sourceforge.net/adminer/editor-${pkgver}.php")
source=("https://www.adminer.org/static/download/${pkgver}/editor-${pkgver}.php")
-sha256sums=('815db1d5f6fc5ab21a22dff618339b544b99834b7d8b2048a7dbc1699a004736')
+sha256sums=('00a29ceda73e1feafc79d41d94ca98c497dabb257a89a013fbb15ffa09c46e14')
package() {
set -u