summaryrefslogtreecommitdiff
path: root/academic/chemtool
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 19:43:41 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:43:41 +0200
commitd6d557614653479ef2f892408d8c38d328e52e12 (patch)
tree94eb74c9fee629625bfa1b6fc31c59f5911fe871 /academic/chemtool
parent8dca97546731353be39a681a12d9f34012b1a674 (diff)
downloadslackbuilds-d6d557614653479ef2f892408d8c38d328e52e12.tar.gz
academic/chemtool: Updated for version 1.6.9
Diffstat (limited to 'academic/chemtool')
-rw-r--r--academic/chemtool/README1
-rw-r--r--academic/chemtool/chemtool.SlackBuild9
-rw-r--r--academic/chemtool/chemtool.info2
-rw-r--r--academic/chemtool/doinst.sh6
-rw-r--r--academic/chemtool/slack-desc13
5 files changed, 19 insertions, 12 deletions
diff --git a/academic/chemtool/README b/academic/chemtool/README
index 7792d8159f..c109ce4258 100644
--- a/academic/chemtool/README
+++ b/academic/chemtool/README
@@ -3,4 +3,3 @@ Linux and Unix systems using the GTK toolkit under X11.
ChemTool will make use of the OpenBabel library if it's installed,
but the library is not required for chemtool to function.
-
diff --git a/academic/chemtool/chemtool.SlackBuild b/academic/chemtool/chemtool.SlackBuild
index a65c7d73f7..c6b35eaa9b 100644
--- a/academic/chemtool/chemtool.SlackBuild
+++ b/academic/chemtool/chemtool.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for chemtool
-# Copyright 2006 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
PRGNAM=chemtool
VERSION=1.6.9
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -71,8 +71,7 @@ install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desk
install -D -m 0644 $CWD/chemtool.png $PKG/usr/share/pixmaps/chemtool.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- examples/ ChangeLog INSTALL NEWS README TODO using_chemtool.html \
+cp -a examples/ ChangeLog INSTALL NEWS README TODO using_chemtool.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -80,7 +79,7 @@ if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
find . -type f -exec chmod 0644 {} \;
find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
fi
diff --git a/academic/chemtool/chemtool.info b/academic/chemtool/chemtool.info
index 0b0e9a6854..97914a3177 100644
--- a/academic/chemtool/chemtool.info
+++ b/academic/chemtool/chemtool.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool-1.6.9.tar
MD5SUM="d13b16c019a9912cf0c3de07ca5bcd29"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="robw810"
+APPROVED="BP{k},rworkman"
diff --git a/academic/chemtool/doinst.sh b/academic/chemtool/doinst.sh
index 7f257cf9de..f8e99cff18 100644
--- a/academic/chemtool/doinst.sh
+++ b/academic/chemtool/doinst.sh
@@ -1,9 +1,7 @@
-
if [ -x usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+ usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
if [ -x usr/bin/update-mime-database ]; then
- ./usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
+ usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-
diff --git a/academic/chemtool/slack-desc b/academic/chemtool/slack-desc
index 651f434f0b..86fc95d578 100644
--- a/academic/chemtool/slack-desc
+++ b/academic/chemtool/slack-desc
@@ -1,4 +1,12 @@
-chemtool: ChemTool - Chemical Molecule Drawing Program
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+chemtool: ChemTool (Chemical Molecule Drawing Program)
chemtool:
chemtool: Chemtool is a small program for drawing chemical structures on
chemtool: Linux and Unix systems using the GTK toolkit under X11.
@@ -6,3 +14,6 @@ chemtool:
chemtool: Homepage: http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
chemtool:
chemtool:
+chemtool:
+chemtool:
+chemtool: