summaryrefslogtreecommitdiff
path: root/office/kbibtex/kbibtex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/kbibtex/kbibtex.SlackBuild')
-rw-r--r--office/kbibtex/kbibtex.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/office/kbibtex/kbibtex.SlackBuild b/office/kbibtex/kbibtex.SlackBuild
index fa3c7c225e..1af7dfd70f 100644
--- a/office/kbibtex/kbibtex.SlackBuild
+++ b/office/kbibtex/kbibtex.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kbibtex
-VERSION=${VERSION:-0.3}
+VERSION=${VERSION:-0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,14 +76,13 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMANDIR=man \
+ -DMANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev \
..
- make || make -j1
+ make VERBOSE=1
make install DESTDIR=$PKG
cd ..
@@ -91,11 +90,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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 \
- README LICENSE \
+ README LICENSE TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild