summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 19:43:43 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:43:43 +0200
commit0778f1b46abce2f348a69d8bfae638ae71070a30 (patch)
tree8d79a54a11614da4476ec17cb67c9de2fcbad6f1 /academic
parenta33f39e825b9c1f97deee8353a1c50f0b17ff0fb (diff)
downloadslackbuilds-0778f1b46abce2f348a69d8bfae638ae71070a30.tar.gz
academic/xdrawchem: Updated for version 1.9.9
Diffstat (limited to 'academic')
-rw-r--r--academic/xdrawchem/README3
-rw-r--r--academic/xdrawchem/doinst.sh2
-rw-r--r--academic/xdrawchem/slack-desc10
-rw-r--r--academic/xdrawchem/xdrawchem.SlackBuild8
-rw-r--r--academic/xdrawchem/xdrawchem.info2
5 files changed, 17 insertions, 8 deletions
diff --git a/academic/xdrawchem/README b/academic/xdrawchem/README
index e03bf4c73e..5062d0ff71 100644
--- a/academic/xdrawchem/README
+++ b/academic/xdrawchem/README
@@ -4,3 +4,6 @@ drawing programs such as ChemDraw (TM, CambridgeSoft). It can read
and write MDL Molfiles, and read ChemDraw text and binary files, to
allow sharing between XDrawChem and other chemistry applications,
and it can create images in popular formats like PNG and EPS.
+
+XDrawChem needs the openbabel library for which there is a build
+script at SlackBuilds.org. \ No newline at end of file
diff --git a/academic/xdrawchem/doinst.sh b/academic/xdrawchem/doinst.sh
index 7f257cf9de..2cf8c08ed3 100644
--- a/academic/xdrawchem/doinst.sh
+++ b/academic/xdrawchem/doinst.sh
@@ -1,4 +1,3 @@
-
if [ -x usr/bin/update-desktop-database ]; then
./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
fi
@@ -6,4 +5,3 @@ fi
if [ -x usr/bin/update-mime-database ]; then
./usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
fi
-
diff --git a/academic/xdrawchem/slack-desc b/academic/xdrawchem/slack-desc
index 228900f8e8..ce9535441c 100644
--- a/academic/xdrawchem/slack-desc
+++ b/academic/xdrawchem/slack-desc
@@ -1,4 +1,12 @@
-xdrawchem: XDrawChem 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------------------------------------------------------|
+xdrawchem: XDrawChem (Molecule Drawing Program)
xdrawchem:
xdrawchem: XDrawChem is a two-dimensional molecule drawing program for Unix
xdrawchem: operating systems. It is similar in functionality to other molecule
diff --git a/academic/xdrawchem/xdrawchem.SlackBuild b/academic/xdrawchem/xdrawchem.SlackBuild
index 699e7eda0a..c25fed996a 100644
--- a/academic/xdrawchem/xdrawchem.SlackBuild
+++ b/academic/xdrawchem/xdrawchem.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xdrawchem
-# 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,9 +27,9 @@
PRGNAM=xdrawchem
VERSION=1.9.9
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,7 +76,7 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \;
( cd $PKG/usr/man
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
)
mkdir -p $PKG/install
diff --git a/academic/xdrawchem/xdrawchem.info b/academic/xdrawchem/xdrawchem.info
index f318647ad3..73126a3ddb 100644
--- a/academic/xdrawchem/xdrawchem.info
+++ b/academic/xdrawchem/xdrawchem.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://dl.sourceforge.net/xdrawchem/xdrawchem-1.9.9.tar.gz"
MD5SUM="6343d031b3ea19a6606831c89b8006b2"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="robw810"
+APPROVED="BP{k}"