diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-02-27 15:31:22 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-03 08:42:17 +0700 |
commit | 8d6813c53d347db1acce06d3cc97c0cac6916527 (patch) | |
tree | 8fbba07519cced8d8b3b0bf9a84eb6ee1e92deef /office/keepassxc/keepassxc.SlackBuild | |
parent | 2ae536af16f6c98a475e6484dee960ab65fc5217 (diff) |
office/keepassxc: Updated for version 2.3.0.
Diffstat (limited to 'office/keepassxc/keepassxc.SlackBuild')
-rw-r--r-- | office/keepassxc/keepassxc.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild index ddaf7794b1b9e..1e042075ff283 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.2.4} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION-src.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -75,9 +75,11 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DWITH_TESTS=OFF \ - -DWITH_XC_HTTP="${XC_HTTP:-ON}" \ + -DWITH_XC_BROWSER="${XC_BROWSER:-ON}" \ -DWITH_XC_YUBIKEY="${XC_YUBIKEY:-OFF}" \ + -DWITH_XC_NETWORKING="${XC_NETWORKING:-ON}" \ -DWITH_XC_AUTOTYPE="${XC_AUTOTYPE:-ON}" \ + -DWITH_XC_SSHAGENT="${XC_SSHAGENT:-ON}" \ .. make @@ -87,6 +89,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 + mkdir -p $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 |