summaryrefslogtreecommitdiff
path: root/academic/gaw3/gaw3.SlackBuild
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2017-04-08 23:13:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:27:44 +0700
commit4fe5c5562857643c461eb3b5ef5b13fdbce5d4a7 (patch)
treee0fa3adbdd3a219b39a828e044ab7d81f8244366 /academic/gaw3/gaw3.SlackBuild
parent391d4a59ce95723d26622827668de47606d9c6f5 (diff)
downloadslackbuilds-4fe5c5562857643c461eb3b5ef5b13fdbce5d4a7.tar.gz
academic/gaw3: Updated for version 20170326.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/gaw3/gaw3.SlackBuild')
-rw-r--r--academic/gaw3/gaw3.SlackBuild22
1 files changed, 5 insertions, 17 deletions
diff --git a/academic/gaw3/gaw3.SlackBuild b/academic/gaw3/gaw3.SlackBuild
index b092a383ca..da653ea459 100644
--- a/academic/gaw3/gaw3.SlackBuild
+++ b/academic/gaw3/gaw3.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gaw3
-VERSION=${VERSION:-20150228}
+VERSION=${VERSION:-20170326}
BUILD=${BUILD:-1}
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
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,7 +80,6 @@ make install DESTDIR=$PKG
mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps
cp $CWD/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
-chmod -x $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
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
@@ -94,18 +93,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/usr/share/applications
-cat <<EOF > $PKG/usr/share/applications/$PRGNAM.desktop
-[Desktop Entry]
-Encoding=UTF-8
-Name=Gaw3
-Comment=Analog Waveform Viewer
-Exec=gaw
-Terminal=false
-Type=Application
-Categories=Science
-Icon=gaw3
-StartupNotify=false
-EOF
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
rm $PKG/usr/share/applications/gaw.desktop
rm -r $PKG/usr/share/pixmaps