summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2020-07-07 15:09:01 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-08-29 10:08:49 +0700
commit3f2ae3f36559be78c7d5d8cae462da0635c0d679 (patch)
tree5f51e797e6d4ac01f6c1470a7bed5a221f3fa839
parentdb3acc8429427a9c76d7bff58c62201a239e5626 (diff)
downloadslackbuilds-3f2ae3f36559be78c7d5d8cae462da0635c0d679.tar.gz
office/keepassxc: Updated for version 2.6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/keepassxc/README3
-rw-r--r--office/keepassxc/keepassxc.SlackBuild11
-rw-r--r--office/keepassxc/keepassxc.info6
3 files changed, 13 insertions, 7 deletions
diff --git a/office/keepassxc/README b/office/keepassxc/README
index 5c7494d7b6..ab9f3501dd 100644
--- a/office/keepassxc/README
+++ b/office/keepassxc/README
@@ -20,6 +20,9 @@ running agent. This may be disabled by passing SSHAGENT=OFF to the script.
Networking support, allowing website favicons to be downloaded, is enabled by
default. This maybe disabled by passing NETWORKING=OFF to the script.
+To include documentation, rubygem-asciidoctor must be installed and DOCS=ON
+must be passed to the script.
+
Support for database sharing and synchronisation using KeeShare will be
disabled. It can be enabled by setting KEESHARE=ON, or a secure version can be
enabled with KEESHARE_SECURE=ON, providing libraries/quazip-qt5 is installed.
diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild
index e66c8f72e2..e8d5141044 100644
--- a/office/keepassxc/keepassxc.SlackBuild
+++ b/office/keepassxc/keepassxc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=keepassxc
-VERSION=${VERSION:-2.5.4}
+VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,12 +74,14 @@ cd build
export LDFLAGS="-ltermcap"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_TESTS=OFF \
-DWITH_XC_BROWSER=${BROWSER:-ON} \
-DWITH_XC_YUBIKEY=${YUBIKEY:-OFF} \
-DWITH_XC_NETWORKING=${NETWORKING:-ON} \
-DWITH_XC_AUTOTYPE=${AUTOTYPE:-ON} \
+ -DWITH_XC_DOCS=${DOCS:-OFF} \
-DWITH_XC_SSHAGENT=${SSHAGENT:-ON} \
-DWITH_XC_KEESHARE=${KEESHARE:-OFF} \
-DWITH_XC_KEESHARE_SECURE=${KEESHARE_SECURE:-OFF} \
@@ -93,9 +95,10 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+if [ "$DOCS" = "ON" ]; then
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
diff --git a/office/keepassxc/keepassxc.info b/office/keepassxc/keepassxc.info
index 88dc2d20ef..f78e1ab8b8 100644
--- a/office/keepassxc/keepassxc.info
+++ b/office/keepassxc/keepassxc.info
@@ -1,8 +1,8 @@
PRGNAM="keepassxc"
-VERSION="2.5.4"
+VERSION="2.6.0"
HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
-DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.5.4/keepassxc-2.5.4-src.tar.xz"
-MD5SUM="788470a9569ad03dc597ad202bb8f709"
+DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.6.0/keepassxc-2.6.0-src.tar.xz"
+MD5SUM="009c5d01773ea1aa084f7b580ef9c22a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="argon2 libsodium qrencode qt5"