summaryrefslogtreecommitdiff
path: root/office/kbibtex/kbibtex.SlackBuild
diff options
context:
space:
mode:
authorAr Tourter <artourter@gmail.com>2011-12-11 23:01:32 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-11 23:01:32 -0200
commit2b387e94e934df18e1060ff9465ea2817f9abdd4 (patch)
tree525ed73a0396cac5a1018b17b2c6b8897ac59926 /office/kbibtex/kbibtex.SlackBuild
parent58dfe23b8ec466a6b34e8e6223151974b39a6f94 (diff)
downloadslackbuilds-2b387e94e934df18e1060ff9465ea2817f9abdd4.tar.gz
office/kbibtex: Updated for version 0.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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