summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKent Fritz <fritz.kent@gmail.com>2020-09-19 00:34:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-19 00:34:50 +0700
commitcdeea2c70c44de7a44e382b853c602c4ec3b4247 (patch)
tree598af7dbe3a60192bc68311959e3539a12277a85 /misc
parenta7564bd51f3055e965ca559c165a198999e91bed (diff)
downloadslackbuilds-cdeea2c70c44de7a44e382b853c602c4ec3b4247.tar.gz
misc/xca: Updated for version 2.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/xca/xca.SlackBuild17
-rw-r--r--misc/xca/xca.info6
2 files changed, 8 insertions, 15 deletions
diff --git a/misc/xca/xca.SlackBuild b/misc/xca/xca.SlackBuild
index 15387ae802..88e104b191 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}
diff --git a/misc/xca/xca.info b/misc/xca/xca.info
index e80565c323..f72a4d1e53 100644
--- a/misc/xca/xca.info
+++ b/misc/xca/xca.info
@@ -1,8 +1,8 @@
PRGNAM="xca"
-VERSION="2.1.2"
+VERSION="2.3.0"
HOMEPAGE="https://hohnstaedt.de/xca"
-DOWNLOAD="https://github.com/chris2511/xca/releases/download/RELEASE.2.1.2/xca-2.1.2.tar.gz"
-MD5SUM="1d48bd19b0bc6caf1b4431cb2c73cc67"
+DOWNLOAD="https://github.com/chris2511/xca/releases/download/RELEASE.2.3.0/xca-2.3.0.tar.gz"
+MD5SUM="9c57ca1f231c0623e81e20c6f7b5f348"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""