From 6f465bf1e0baef8d3b5fa06eb5c6b3e1a5627492 Mon Sep 17 00:00:00 2001
From: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Date: Sun, 22 Jan 2017 14:34:14 -0800
Subject: office/keepassxc: Updated for version 2.1.0.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
---
 office/keepassxc/README               |  6 +++---
 office/keepassxc/keepassxc.SlackBuild | 13 ++++++-------
 office/keepassxc/keepassxc.info       |  6 +++---
 3 files changed, 12 insertions(+), 13 deletions(-)

(limited to 'office/keepassxc')

diff --git a/office/keepassxc/README b/office/keepassxc/README
index d1a4dcc1c7..895b36d6d0 100644
--- a/office/keepassxc/README
+++ b/office/keepassxc/README
@@ -6,8 +6,8 @@ features, and bug fixes that are not being incorporated into the main KeePassX
 baseline. KeePassXC may be installed alongside KeePassX (also available as a
 SlackBuild).
 
-KeePassXC has keepasshttp support, meaning that it can function as password
-storage for Mozilla Firefox and Chromium. This may be disabled by passing
-XC_HTTP=OFF to the script.
+KeePassXC can be built with keepasshttp support, meaning that it can function
+as password storage for Mozilla Firefox and Chromium. This may be enabled by
+passing XC_HTTP=ON to the script.
 
 Autotype may be disabled by passing XC_AUTOTYPE=OFF.
diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild
index 3b05dc0960..3733052be5 100644
--- a/office/keepassxc/keepassxc.SlackBuild
+++ b/office/keepassxc/keepassxc.SlackBuild
@@ -23,8 +23,7 @@
 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 PRGNAM=keepassxc
-VERSION=${VERSION:-20160102}
-SRCREV=534364454d9504fed894bd073fcc96907e71dc76
+VERSION=${VERSION:-2.1.0}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -60,9 +59,9 @@ set -e
 rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
-rm -rf $PRGNAM-$SRCREV
-tar xvf $CWD/$PRGNAM-$SRCREV.tar.gz || tar xvf $CWD/$SRCREV.tar.gz
-cd $PRGNAM-$SRCREV
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
 chown -R root:root .
 find -L . \
  \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,7 +75,7 @@ cd build
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DWITH_TESTS=OFF \
-    -DWITH_XC_HTTP="${XC_HTTP:-ON}" \
+    -DWITH_XC_HTTP="${XC_HTTP:-OFF}" \
     -DWITH_XC_AUTOTYPE="${XC_AUTOTYPE:-ON}" \
     ..
 
@@ -88,7 +87,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 
 mkdir -p $PKG/install
diff --git a/office/keepassxc/keepassxc.info b/office/keepassxc/keepassxc.info
index b303013226..296fa51027 100644
--- a/office/keepassxc/keepassxc.info
+++ b/office/keepassxc/keepassxc.info
@@ -1,8 +1,8 @@
 PRGNAM="keepassxc"
-VERSION="20170102"
+VERSION="2.1.0"
 HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
-DOWNLOAD="https://github.com/keepassxreboot/keepassxc/archive/534364454d9504fed894bd073fcc96907e71dc76.tar.gz"
-MD5SUM="d7198e20cbd8ebe2e45b972efa2bb35c"
+DOWNLOAD="https://github.com/keepassxreboot/keepassxc/archive/2.1.0/keepassxc-2.1.0.tar.gz"
+MD5SUM="765de5963cf1eb841591bd4074c659f6"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="libmicrohttpd qt5"
-- 
cgit v1.2.3