diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2011-12-21 05:02:17 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-12-22 00:03:02 -0600 |
commit | fa847d78487a7236ef49a8027bb0098fc952cb55 (patch) | |
tree | 7d70de3148cb3ffc5aee57a192544f2190892e2e /academic/smath-studio/smath-studio.SlackBuild | |
parent | 0187c83556b687474acee8e45319fea4d2c2456b (diff) | |
download | slackbuilds-fa847d78487a7236ef49a8027bb0098fc952cb55.tar.gz |
academic/smath-studio: Changed the license.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/smath-studio/smath-studio.SlackBuild')
-rw-r--r-- | academic/smath-studio/smath-studio.SlackBuild | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/academic/smath-studio/smath-studio.SlackBuild b/academic/smath-studio/smath-studio.SlackBuild index 4019425919..163f33e4de 100644 --- a/academic/smath-studio/smath-studio.SlackBuild +++ b/academic/smath-studio/smath-studio.SlackBuild @@ -1,22 +1,26 @@ #!/bin/bash -# + # Slackware build script for SMath Studio -# Copyright (C) 2011 Fridrich von Stauffenberg <cancellor2@gmail.com> -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. + +# Copyright 2011 Fridrich von Stauffenberg <cancellor2@gmail.com> +# All rights reserved. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: # -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# 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=smath-studio VERSION=${VERSION:-0.89} @@ -27,7 +31,6 @@ ORIG_FILENAME="20100723060056964.gz" ORIG_PRGNAM=SMathStudioDesktop ORIG_VERSION=${VERSION/./_} -# SMath is written in C#, so it runs on any architecture supported by Mono ARCH=noarch CWD=$(pwd) @@ -52,20 +55,16 @@ chown -R root:root . mkdir -p $PKG/opt/$PRGNAM mv * $PKG/opt/$PRGNAM -# Add a desktop menu entry mkdir -p $PKG/usr/share/applications cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop -# Remove the wrapper script - we have a better one rm -f $PKG/opt/$PRGNAM/smathstudio_desktop_mono cat $CWD/$PRGNAM.sh > $PKG/opt/$PRGNAM/$PRGNAM chmod 755 $PKG/opt/$PRGNAM/$PRGNAM -# Put a symlink into /usr/bin mkdir -p $PKG/usr/bin ln -s /opt/$PRGNAM/$PRGNAM $PKG/usr/bin -# Put symlinks to icons in the standard places for SIZE in 16 24 32 48 64 96 128 256 ; do mkdir -p $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/apps ln -s /opt/$PRGNAM/icons/SSLogo$SIZE.png \ |