office/zathura: Updated for version 0.2.0.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
B. Watson 2012-07-29 22:35:50 -05:00 committed by Robby Workman
parent 33decf6c86
commit a846fccbab
4 changed files with 15 additions and 15 deletions

Binary file not shown.

View file

@ -29,8 +29,12 @@
# - Include generated man pages
# - fix homepage URL
# Updated 20120721 by B. Watson <yalhcru@gmail.com>:
# - Updated for v0.2.0
# - generated man pages now included by upstream, get rid of ours
PRGNAM=zathura
VERSION=${VERSION:-0.1.1}
VERSION=${VERSION:-0.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -82,17 +86,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# zathura uses rst2man from docutils to generate its man pages. Rather than
# require docutils (1.5MB download) as a dep, just include the man pages (5KB)
# with the SlackBuild archive.
mkdir -p $PKG/usr/man/man1 $PKG/usr/man/man5
cp $CWD/*.1.gz $PKG/usr/man/man1/
cp $CWD/*.5.gz $PKG/usr/man/man5/
sed -i "s/-pedantic/$SLKCFLAGS/" config.mk
make LIBDIR=/usr/lib$LIBDIRSUFFIX
make install LIBDIR=/usr/lib$LIBDIRSUFFIX DESTDIR=$PKG RSTTOMAN=""
make install LIBDIR=/usr/lib$LIBDIRSUFFIX MANPREFIX=/usr/man DESTDIR=$PKG RSTTOMAN=""
gzip $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
@ -115,6 +113,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# ZATHURA_VERSION_CHECK=0 shouldn't be required :(
sed -i "s/-fPIC/$SLKCFLAGS/" config.mk
make install \
ZATHURA_INC=-I.. \

View file

@ -1,12 +1,12 @@
PRGNAM="zathura"
VERSION="0.1.1"
VERSION="0.2.0"
HOMEPAGE="http://www.pwmt.org/projects/zathura"
DOWNLOAD="https://pwmt.org/projects/zathura/download/zathura-0.1.1.tar.gz \
https://pwmt.org/projects/zathura/plugins/download/zathura-pdf-poppler-0.1.1.tar.gz"
MD5SUM="1379dfb1657b323da3b521ed251bb87a \
a43db96a893e0b37c446f23202b930d2"
DOWNLOAD="https://pwmt.org/projects/zathura/download/zathura-0.2.0.tar.gz \
https://pwmt.org/projects/zathura/plugins/download/zathura-pdf-poppler-0.2.0.tar.gz"
MD5SUM="fb53e2aa4b52c717f50f2e6c80425464 \
e8a6222f28d86ca2ff43de156355be2b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="dsomero"
APPROVED="rworkman"

Binary file not shown.