From a42442c7f8a27af3cc588bc8a9b12a685505f619 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Sun, 4 Sep 2011 13:12:39 -0300 Subject: academic/plasmidomics: Added (Plasmid Drawing Program) Signed-off-by: Niels Horn --- academic/plasmidomics/README | 2 ++ academic/plasmidomics/doinst.sh | 3 ++ academic/plasmidomics/plasmidomics.SlackBuild | 49 ++++++++++++++++++++++++++ academic/plasmidomics/plasmidomics.desktop | 7 ++++ academic/plasmidomics/plasmidomics.info | 10 ++++++ academic/plasmidomics/plasmidomics.png | Bin 0 -> 3861 bytes academic/plasmidomics/slack-desc | 19 ++++++++++ 7 files changed, 90 insertions(+) create mode 100644 academic/plasmidomics/README create mode 100644 academic/plasmidomics/doinst.sh create mode 100644 academic/plasmidomics/plasmidomics.SlackBuild create mode 100644 academic/plasmidomics/plasmidomics.desktop create mode 100644 academic/plasmidomics/plasmidomics.info create mode 100644 academic/plasmidomics/plasmidomics.png create mode 100644 academic/plasmidomics/slack-desc (limited to 'academic') diff --git a/academic/plasmidomics/README b/academic/plasmidomics/README new file mode 100644 index 0000000000..49ac75780f --- /dev/null +++ b/academic/plasmidomics/README @@ -0,0 +1,2 @@ +Plasmidomics is an open source program for easy drawing of plasmids +and vector maps with high-quality graphics export. diff --git a/academic/plasmidomics/doinst.sh b/academic/plasmidomics/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/academic/plasmidomics/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/academic/plasmidomics/plasmidomics.SlackBuild b/academic/plasmidomics/plasmidomics.SlackBuild new file mode 100644 index 0000000000..a553c5b93b --- /dev/null +++ b/academic/plasmidomics/plasmidomics.SlackBuild @@ -0,0 +1,49 @@ +#!/bin/sh + +# Slackware build script for plasmidomics +# Written by Petar Petrov, and +# hereby submitted to the public domain + +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. + +PRGNAM=plasmidomics +VERSION=${VERSION:-0.2} +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -jxvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION + +install -D -m755 plasmid $PKG/usr/bin/plasmidomics + +# Menu item and icon +mkdir -p $PKG/usr/share/{applications,pixmaps} +cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ +cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYRIGHT README \ + $PKG/usr/doc/$PRGNAM-$VERSION/ +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/academic/plasmidomics/plasmidomics.desktop b/academic/plasmidomics/plasmidomics.desktop new file mode 100644 index 0000000000..74ede845f3 --- /dev/null +++ b/academic/plasmidomics/plasmidomics.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Categories=Education; +Exec=plasmidomics +Icon=plasmidomics.png +Name=Plasmidomics +StartupNotify=false +Type=Application diff --git a/academic/plasmidomics/plasmidomics.info b/academic/plasmidomics/plasmidomics.info new file mode 100644 index 0000000000..07b855ab6e --- /dev/null +++ b/academic/plasmidomics/plasmidomics.info @@ -0,0 +1,10 @@ +PRGNAM="plasmidomics" +VERSION="0.2" +HOMEPAGE="http://www.bioprocess.org/plasmid" +DOWNLOAD="http://www.bioprocess.org/plasmid/plasmidomics-0.2.tar.bz2" +MD5SUM="72fdeb78943ed274f3a738da6afca5ef" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Petar Petrov" +EMAIL="ppetrov@paju.oulu.fi" +APPROVED="Niels Horn" diff --git a/academic/plasmidomics/plasmidomics.png b/academic/plasmidomics/plasmidomics.png new file mode 100644 index 0000000000..1b3aa028a2 Binary files /dev/null and b/academic/plasmidomics/plasmidomics.png differ diff --git a/academic/plasmidomics/slack-desc b/academic/plasmidomics/slack-desc new file mode 100644 index 0000000000..21403420df --- /dev/null +++ b/academic/plasmidomics/slack-desc @@ -0,0 +1,19 @@ +# 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------------------------------------------------------| +plasmidomics: plasmidomics (Plasmid Drawing Program) +plasmidomics: +plasmidomics: Plasmidomics is an open source program for easy drawing of plasmids +plasmidomics: and vector maps with high-quality graphics export. +plasmidomics: +plasmidomics: +plasmidomics: +plasmidomics: +plasmidomics: +plasmidomics: +plasmidomics: Home: http://www.bioprocess.org/plasmid -- cgit v1.2.3