office/keepassxc: Updated for version 2.6.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2020-07-07 15:09:01 -07:00 committed by Willy Sudiarto Raharjo
parent db3acc8429
commit 3f2ae3f365
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 13 additions and 7 deletions

View File

@ -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 Networking support, allowing website favicons to be downloaded, is enabled by
default. This maybe disabled by passing NETWORKING=OFF to the script. 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 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 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. enabled with KEESHARE_SECURE=ON, providing libraries/quazip-qt5 is installed.

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=keepassxc PRGNAM=keepassxc
VERSION=${VERSION:-2.5.4} VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -74,12 +74,14 @@ cd build
export LDFLAGS="-ltermcap" export LDFLAGS="-ltermcap"
cmake \ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DWITH_TESTS=OFF \ -DWITH_TESTS=OFF \
-DWITH_XC_BROWSER=${BROWSER:-ON} \ -DWITH_XC_BROWSER=${BROWSER:-ON} \
-DWITH_XC_YUBIKEY=${YUBIKEY:-OFF} \ -DWITH_XC_YUBIKEY=${YUBIKEY:-OFF} \
-DWITH_XC_NETWORKING=${NETWORKING:-ON} \ -DWITH_XC_NETWORKING=${NETWORKING:-ON} \
-DWITH_XC_AUTOTYPE=${AUTOTYPE:-ON} \ -DWITH_XC_AUTOTYPE=${AUTOTYPE:-ON} \
-DWITH_XC_DOCS=${DOCS:-OFF} \
-DWITH_XC_SSHAGENT=${SSHAGENT:-ON} \ -DWITH_XC_SSHAGENT=${SSHAGENT:-ON} \
-DWITH_XC_KEESHARE=${KEESHARE:-OFF} \ -DWITH_XC_KEESHARE=${KEESHARE:-OFF} \
-DWITH_XC_KEESHARE_SECURE=${KEESHARE_SECURE:-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 \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr if [ "$DOCS" = "ON" ]; then
find $PKG/usr/man -type f -exec gzip -9 {} \; 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 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \

View File

@ -1,8 +1,8 @@
PRGNAM="keepassxc" PRGNAM="keepassxc"
VERSION="2.5.4" VERSION="2.6.0"
HOMEPAGE="https://github.com/keepassxreboot/keepassxc" HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.5.4/keepassxc-2.5.4-src.tar.xz" DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.6.0/keepassxc-2.6.0-src.tar.xz"
MD5SUM="788470a9569ad03dc597ad202bb8f709" MD5SUM="009c5d01773ea1aa084f7b580ef9c22a"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="argon2 libsodium qrencode qt5" REQUIRES="argon2 libsodium qrencode qt5"