diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-04-18 12:41:23 +0200 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2021-04-18 12:41:23 +0200 |
commit | 850328974813e252c879520dc2c96b6b91f444e7 (patch) | |
tree | 54eb7047c03286a03cb15fc5fb81bc21a1062900 /graphics/inkscape/inkscape.SlackBuild | |
parent | 297d3dd91cde9037fb5056a4c6a53496ca9a6b69 (diff) |
graphics/inkscape: Updated for version 1.0.2.
Added new dependencies, switched to GraphicsMagick as
imagemagick >= 7.x is not compatible. Most of the build hints are
taken from fedora and AlienBOB (thanks!)
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/inkscape/inkscape.SlackBuild')
-rw-r--r-- | graphics/inkscape/inkscape.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild index 9380191a412c7..d61c6507a87d5 100644 --- a/graphics/inkscape/inkscape.SlackBuild +++ b/graphics/inkscape/inkscape.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=inkscape -VERSION=${VERSION:-0.92.4} +VERSION=${VERSION:-1.0.2} +EXTRAVER=${EXTRAVER:-2021-01-15_e86c870879} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf ${PRGNAM}-${VERSION}_${EXTRAVER} tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION +cd ${PRGNAM}-${VERSION}_${EXTRAVER} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -111,11 +112,9 @@ cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/man -type f -exec gzip -9 {} \; - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING* INSTALL NEWS README TRANSLATORS doc/* \ + AUTHORS COPYING* README* TRANSLATORS LICENSES *.md doc/* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -name "Makefile*" -exec rm {} \; |