Browse Source

xap/scribus: Upgraded to scribus-1.4.8.

current-20191101
parent
commit
18c1aacbb3
4 changed files with 6 additions and 12 deletions
  1. +1
    -1
      xap/scribus/scribus-1.4.6-fix-paths.diff
  2. +0
    -1
      xap/scribus/scribus-1.4.6.tar.xz.sha1
  3. +1
    -0
      xap/scribus/scribus-1.4.8.tar.xz.sha256
  4. +4
    -10
      xap/scribus/scribus.SlackBuild

+ 1
- 1
xap/scribus/scribus-1.4.6-fix-paths.diff View File

@ -19,7 +19,7 @@ diff -Naur scribus-1.4.6.orig/CMakeLists.txt scribus-1.4.6/CMakeLists.txt
ELSE(TAG_VERSION OR BUILD_OSX_BUNDLE)
IF(NOT WANT_VERSIONING)
- SET(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}/")
+ SET(DOCDIR "${CMAKE_INSTALL_PREFIX}/doc/${MAIN_DIR_NAME}/")
+ SET(DOCDIR "${CMAKE_INSTALL_PREFIX}/doc/${MAIN_DIR_NAME}-${VERSION}/")
ELSE(NOT WANT_VERSIONING)
- SET(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}-${VERSION}/")
+ SET(DOCDIR "${CMAKE_INSTALL_PREFIX}/doc/${MAIN_DIR_NAME}-${VERSION}/")


+ 0
- 1
xap/scribus/scribus-1.4.6.tar.xz.sha1 View File

@ -1 +0,0 @@
f04a2eecfb531af4beb99645f85165be161b00a3 scribus-1.4.6.tar.xz

+ 1
- 0
xap/scribus/scribus-1.4.8.tar.xz.sha256 View File

@ -0,0 +1 @@
22253bb5994023f39608b37c57c7cd0280059fd97d2a4d71d4011aeeeb18042f scribus-1.4.8.tar.xz

+ 4
- 10
xap/scribus/scribus.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009-2014,2016 Damien Goutte-Gattat
# Copyright (C) 2009-2014,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,7 +26,7 @@
# Source package infos
NAMESRC=${NAMESRC:-scribus}
VERSION=${VERSION:-1.4.6}
VERSION=${VERSION:-1.4.8}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-http://downloads.sourceforge.net/scribus/$ARCHIVE}
@ -75,8 +75,8 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 2)
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
@ -94,12 +94,6 @@ make install/strip DESTDIR=$PKG
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Move desktop file
mkdir -p $PKG/usr/share/applications
mv $PKG/usr/share/mimelnk/application/vnd.scribus.desktop \
$PKG/usr/share/applications
rm -rf $PKG/usr/share/mimelnk
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh


Loading…
Cancel
Save