office/keepassxc: Updated for version 2.1.0.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
Benjamin Trigona-Harany 2017-01-22 14:34:14 -08:00 committed by Willy Sudiarto Raharjo
parent cb5f2bbc27
commit 6f465bf1e0
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 12 additions and 13 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"