summaryrefslogtreecommitdiff
path: root/office/evince/evince.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/evince/evince.SlackBuild')
-rw-r--r--office/evince/evince.SlackBuild18
1 files changed, 5 insertions, 13 deletions
diff --git a/office/evince/evince.SlackBuild b/office/evince/evince.SlackBuild
index b5f8a78f4c..124c38d554 100644
--- a/office/evince/evince.SlackBuild
+++ b/office/evince/evince.SlackBuild
@@ -24,9 +24,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=evince
-VERSION=${VERSION:-2.32.0}
-BUILD=${BUILD:-2}
-TAG=${TAG=_SBo}
+VERSION=${VERSION:-3.4.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -63,23 +63,15 @@ 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 . \
- \( -perm 7177 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ \( -perm 777 -o -perm 775 -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 {} \;
-# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/evince/files/
-for PATCH in $CWD/patches/* ; do
- echo $PATCH
- patch -p1 < $PATCH
-done
-
-autoreconf # we need to do this after the poppler api update patch
-
if [ "$NLS" != "YES" ]; then
# disable NLS - we're going for a small package here.
rm po/*.po