summaryrefslogtreecommitdiff
path: root/misc/xca/xca.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xca/xca.SlackBuild')
-rw-r--r--misc/xca/xca.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/misc/xca/xca.SlackBuild b/misc/xca/xca.SlackBuild
index 691e7990e6..05605f5ccb 100644
--- a/misc/xca/xca.SlackBuild
+++ b/misc/xca/xca.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xca
-# Copyright 2014 Kent Fritz, Mountain View, CA
+# Copyright 2014-2015 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:-1.0.0}
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-patch < $CWD/patch.configure
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,14 +69,18 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-prefix=/usr \
-./configure
+CXXFLAGS="$SLKCFLAGS" \
+./configure --prefix=/usr
make
make install destdir=$PKG
+mv $PKG/usr/share/man $PKG/usr
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYRIGHT INSTALL VERSION changelog $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