office/kbibtex: Updated for version 0.5.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
ArTourter 2014-05-20 06:48:33 +07:00 committed by Willy Sudiarto Raharjo
parent 4f3738b787
commit 094828e604
2 changed files with 11 additions and 13 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="kbibtex"
VERSION="0.4.1"
VERSION="0.5.1"
HOMEPAGE="http://home.gna.org/kbibtex/"
DOWNLOAD="http://download.gna.org/kbibtex/0.4/kbibtex-0.4.1.tar.bz2"
MD5SUM="657eda1da48198a3c336ff268ce46d6f"
DOWNLOAD="http://download.gna.org/kbibtex/0.5/kbibtex-0.5.1.tar.xz"
MD5SUM="133d4a1a7ec9242545f7616765384777"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""