academic/plasmidomics: Include manual page and better icon

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Petar Petrov 2011-12-20 00:29:09 -06:00 committed by Robby Workman
parent adbc3285db
commit b1a0885b39
6 changed files with 74 additions and 20 deletions

View file

@ -0,0 +1,39 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH PLASMIDOMICS 1 "November 24, 2007"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
Plasmidomics \- draw plasmids and vector maps with PostScript export
.SH SYNOPSIS
plasmidomics
.br
python /usr/bin/plasmidomics
.SH DESCRIPTION
This manual page briefly describes Plasmidomics.
.PP
Plasmidomics is written for easy drawing of plasmids and vector maps to use them in theses, presentations or other forms of publications. It natively supports PostScript as output format.
.SH OPTIONS
There are no options!
.PP
.SH SEE ALSO
The program is documented fully in the README,
available in /usr/doc/plasmidomics-$VERSION folder.
.SH AUTHOR
Plasmidomics was written by Robert Winkler <robert.winkler@bioprocess.org>.
.PP
This manual page was written by Robert Winkler <robert.winkler@bioprocess.org>,
for the Debian project (but may be used by others). It was adapted for Slackware,
with minor modifications by Petar Petrov <ppetrov@paju.oulu.fi> (2011)

View file

@ -1,19 +1,34 @@
#!/bin/sh
# Slackware build script for plasmidomics
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> 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.
# Copyright 2011 Petar Petrov, ppetrov@paju.oulu.fi
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=plasmidomics
VERSION=${VERSION:-0.2}
ARCH=noarch
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -25,20 +40,20 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -jxvf $CWD/$PRGNAM-$VERSION.tar.bz2
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
install -D -m755 plasmid $PKG/usr/bin/plasmidomics
install -D -m755 plasmid $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/man/man1
gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
# 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/
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

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=Education;
Exec=plasmidomics
Icon=plasmidomics.png
Icon=plasmidomics
Name=Plasmidomics
StartupNotify=false
Type=Application

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Petar Petrov"
EMAIL="ppetrov@paju.oulu.fi"
APPROVED="Niels Horn"
APPROVED="rworkman"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -11,9 +11,9 @@ 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
plasmidomics:
plasmidomics:
plasmidomics:
plasmidomics:
plasmidomics: