Browse Source

xap/scribus: Upgraded to scribus-1.4.3.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
0903528a27
  1. 1
      xap/scribus/scribus-1.4.1.tar.bz2.sha1
  2. 1
      xap/scribus/scribus-1.4.3.tar.xz.sha1
  3. 15
      xap/scribus/scribus.SlackBuild

1
xap/scribus/scribus-1.4.1.tar.bz2.sha1

@ -1 +0,0 @@
7e0c0122ed557ebf4f85690e0e6939236718bad2 scribus-1.4.1.tar.bz2

1
xap/scribus/scribus-1.4.3.tar.xz.sha1

@ -0,0 +1 @@
30c111762790e4407c13236bbb4b06f04e907f71 scribus-1.4.3.tar.xz

15
xap/scribus/scribus.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011,2012 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011,2012,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,8 +26,8 @@
# Source package infos
NAMESRC=${NAMESRC:-scribus}
VERSION=${VERSION:-1.4.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
VERSION=${VERSION:-1.4.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-http://downloads.sourceforge.net/scribus/$ARCHIVE}
# Build infos
@ -84,15 +84,12 @@ echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/scribus-1.4.0-fix-paths.diff
mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
cmake -DCMAKE_INSTALL_PREFIX=/usr $LIB64
cmake -DCMAKE_INSTALL_PREFIX=/usr $LIB64 ..
make -j $JOBS
make install DESTDIR=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
make install/strip DESTDIR=$PKG
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;

Loading…
Cancel
Save