diff options
author | Kent Fritz <fritz.kent@gmail.com> | 2020-09-19 00:34:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-19 00:34:50 +0700 |
commit | cdeea2c70c44de7a44e382b853c602c4ec3b4247 (patch) | |
tree | 598af7dbe3a60192bc68311959e3539a12277a85 /misc/xca/xca.SlackBuild | |
parent | a7564bd51f3055e965ca559c165a198999e91bed (diff) |
misc/xca: Updated for version 2.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/xca/xca.SlackBuild')
-rw-r--r-- | misc/xca/xca.SlackBuild | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/misc/xca/xca.SlackBuild b/misc/xca/xca.SlackBuild index 15387ae80263..88e104b19168 100644 --- a/misc/xca/xca.SlackBuild +++ b/misc/xca/xca.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xca -# Copyright 2014-2019 Kent Fritz, Mountain View, CA +# Copyright 2014-2020 Kent Fritz, Mountain View, CA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xca -VERSION=${VERSION:-2.1.2} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,26 +69,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i \ - -e 's/LIBS="\${LIBS} \${OPENSSL_LIBS}\${QT_LIBS}"/LIBS="\${LIBS} \${OPENSSL_LIBS} \${QT_LIBS}"/' \ - configure - CXXFLAGS="$SLKCFLAGS" \ -./configure --prefix=/usr +./configure --prefix=/usr --mandir=/usr/man --docdir=/usr/doc/$PRGNAM-$VERSION make -make install destdir=$PKG - -mv $PKG/usr/share/man $PKG/usr +make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/xca/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc cp -a AUTHORS COPYRIGHT INSTALL README.md VERSION changelog \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |