From d6d557614653479ef2f892408d8c38d328e52e12 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 May 2010 19:43:41 +0200 Subject: academic/chemtool: Updated for version 1.6.9 --- academic/chemtool/README | 1 - academic/chemtool/chemtool.SlackBuild | 9 ++++----- academic/chemtool/chemtool.info | 2 +- academic/chemtool/doinst.sh | 6 ++---- academic/chemtool/slack-desc | 13 ++++++++++++- 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: -- cgit v1.2.3