diff options
author | Pedro Mendes <pedro@gepasi.org> | 2014-06-06 06:41:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-12 06:51:37 +0700 |
commit | 3ed2cce3ada4a54128f6b6a56083bad2c9f3896f (patch) | |
tree | ed0c833b53bf65d4affb9560be897f2ee394d36f /office/pstoedit | |
parent | a968a4d715ec58d970aae4d9428c602ab70dd102 (diff) |
office/pstoedit: Updated for version 3.62.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/pstoedit')
-rw-r--r-- | office/pstoedit/drvswf.cpp.patch | 10 | ||||
-rw-r--r-- | office/pstoedit/pstoedit.SlackBuild | 18 | ||||
-rw-r--r-- | office/pstoedit/pstoedit.info | 6 |
3 files changed, 11 insertions, 23 deletions
diff --git a/office/pstoedit/drvswf.cpp.patch b/office/pstoedit/drvswf.cpp.patch deleted file mode 100644 index a731874c4189..000000000000 --- a/office/pstoedit/drvswf.cpp.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/drvswf.orig.cpp 2009-12-05 02:02:09.000000000 +0000 -+++ src/drvswf.cpp 2009-12-05 02:02:19.000000000 +0000 -@@ -32,7 +32,6 @@ - //static bool cubic = false; - - #include "mingpp.h" --#include "ming_config.h" - - #if defined(_WIN32) - extern "C" { diff --git a/office/pstoedit/pstoedit.SlackBuild b/office/pstoedit/pstoedit.SlackBuild index 5281fa4a96c1..df6ff2e8cc31 100644 --- a/office/pstoedit/pstoedit.SlackBuild +++ b/office/pstoedit/pstoedit.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pstoedit -VERSION=3.50 +VERSION=${VERSION:-3.62} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,7 +65,7 @@ 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 \ + -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 {} \; @@ -79,20 +79,18 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --build=$ARCH-slackware-linux -# Fix a superfulous include in drvswf.cpp which causes error -patch -p0 < $CWD/drvswf.cpp.patch - make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man || exit 1 - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# copy the example directory which is not installed... +mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/examples +cp -a $TMP/$PRGNAM-$VERSION/examples/*.ps $PKG/usr/share/$PRGNAM-$VERSION/examples mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a readme.install $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/office/pstoedit/pstoedit.info b/office/pstoedit/pstoedit.info index c6ad446a8181..2acda5801608 100644 --- a/office/pstoedit/pstoedit.info +++ b/office/pstoedit/pstoedit.info @@ -1,8 +1,8 @@ PRGNAM="pstoedit" -VERSION="3.50" +VERSION="3.62" HOMEPAGE="http://www.pstoedit.net/" -DOWNLOAD="http://downloads.sourceforge.net/pstoedit/pstoedit-3.50.tar.gz" -MD5SUM="97d649305ad90fab7a569154f17e0916" +DOWNLOAD="https://sourceforge.net/projects/pstoedit/files/pstoedit/3.62/pstoedit-3.62.tar.gz" +MD5SUM="d4ac408d93a8f57dcf0b261cef7785d8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |