diff options
author | Philip Lacroix <slackph at posteo dot de> | 2017-02-17 22:21:20 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-02-17 22:23:16 +0000 |
commit | 114c84e570e74bbc42e09cde3ae655c81e9d72f6 (patch) | |
tree | 299bcd59d9d6844814e7692318074fc7c3706d20 /gis/routino/routino.SlackBuild | |
parent | e7a3a76dbba0c9871e39b1f350afeeb00252cabc (diff) |
gis/routino: New maintainer, switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'gis/routino/routino.SlackBuild')
-rw-r--r-- | gis/routino/routino.SlackBuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/gis/routino/routino.SlackBuild b/gis/routino/routino.SlackBuild index ab957e3dc8506..50519ef0fc78c 100644 --- a/gis/routino/routino.SlackBuild +++ b/gis/routino/routino.SlackBuild @@ -2,7 +2,9 @@ # Slackware build script for routino -# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2016 Willy Sudiarto Raharjo <willysr at slackbuilds dot org> +# Copyright 2017 Philip Lacroix <slackph at posteo dot de> +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +31,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -55,6 +57,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tgz + cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -69,12 +72,15 @@ sed -i "s|/lib|/lib${LIBDIRSUFFIX}|g" Makefile.conf make make install DESTDIR=$PKG -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 +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 + +PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -ar ChangeLog doc/ *.txt $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# Install documentation. +mkdir -p $PRGDOC +cp -ar ChangeLog doc/{*.txt,html} $PRGDOC/ +cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |