aboutsummaryrefslogtreecommitdiff
path: root/office/kbibtex/kbibtex.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2014-05-20 06:48:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-20 06:48:33 +0700
commit094828e604639826c658e705886df11882173f1e (patch)
tree2bc3285a9a72d379f481680259c9a3c0cf65492e /office/kbibtex/kbibtex.SlackBuild
parent4f3738b787cf85a45f823826ee126d150f8e1d63 (diff)
downloadslackbuilds-094828e604639826c658e705886df11882173f1e.tar.xz
office/kbibtex: Updated for version 0.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/kbibtex/kbibtex.SlackBuild')
-rw-r--r--office/kbibtex/kbibtex.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/office/kbibtex/kbibtex.SlackBuild b/office/kbibtex/kbibtex.SlackBuild
index 51f25ddcfdeb..fd30fbfa213a 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.4.1}
+VERSION=${VERSION:-0.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,14 +61,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -82,7 +82,7 @@ cd build
-Wno-dev \
..
- make VERBOSE=1
+ make || make -j1
make install DESTDIR=$PKG
cd ..
@@ -92,9 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README LICENSE TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README LICENSE TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install