diff options
Diffstat (limited to 'office/keepassxc/keepassxc.SlackBuild')
-rw-r--r-- | office/keepassxc/keepassxc.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
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 \ |