mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
office/zathura: Updated for version 0.2.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
33decf6c86
commit
a846fccbab
4 changed files with 15 additions and 15 deletions
Binary file not shown.
|
@ -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.. \
|
||||
|
|
|
@ -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.
Loading…
Reference in a new issue