From 0778f1b46abce2f348a69d8bfae638ae71070a30 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 May 2010 19:43:43 +0200 Subject: academic/xdrawchem: Updated for version 1.9.9 --- academic/xdrawchem/README | 3 +++ academic/xdrawchem/doinst.sh | 2 -- academic/xdrawchem/slack-desc | 10 +++++++++- academic/xdrawchem/xdrawchem.SlackBuild | 8 ++++---- academic/xdrawchem/xdrawchem.info | 2 +- 5 files changed, 17 insertions(+), 8 deletions(-) (limited to 'academic') diff --git a/academic/xdrawchem/README b/academic/xdrawchem/README index e03bf4c73eb5..5062d0ff719e 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 7f257cf9deea..2cf8c08ed345 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 228900f8e8ed..ce9535441cd4 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 699e7eda0a5e..c25fed996a27 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 f318647ad3aa..73126a3ddbda 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}" -- cgit v1.2.3