diff options
author | Kyle Guinn <elyk03@gmail.com> | 2013-10-26 22:10:53 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-10-27 23:38:58 -0500 |
commit | a481874fde49457df5c7ee14f5ef0b6d236a0459 (patch) | |
tree | f47c169646dc024e355bed8496e22be6c70cbf34 /development/icon/icon.SlackBuild | |
parent | c6fae4fd0981dde1a026a9288dfa947be53ff511 (diff) | |
download | slackbuilds-a481874fde49457df5c7ee14f5ef0b6d236a0459.tar.gz |
development/icon: Updated for version 9.5.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/icon/icon.SlackBuild')
-rw-r--r-- | development/icon/icon.SlackBuild | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/development/icon/icon.SlackBuild b/development/icon/icon.SlackBuild index 5f2e30a495..d12606e49e 100644 --- a/development/icon/icon.SlackBuild +++ b/development/icon/icon.SlackBuild @@ -1,10 +1,29 @@ #!/bin/sh # Slackware build script for icon -# Written by Kyle Guinn <elyk03@gmail.com> + +# Copyright 2013 Kyle Guinn <elyk03@gmail.com>, USA +# 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=icon -VERSION=${VERSION:-9.5.0} +VERSION=${VERSION:-9.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,17 +57,15 @@ else LIBDIRSUFFIX="" fi -set -e - PKGVERSION=$(echo $VERSION | tr -d .) rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-v${PKGVERSION}src -tar xvf $CWD/$PRGNAM-v${PKGVERSION}src.tgz +tar xvf $CWD/$PRGNAM-v${PKGVERSION}src.tgz || exit 1 cd $PRGNAM-v${PKGVERSION}src chown -R root:root . -chmod -R u+w,go+r-w,a-st . +chmod -R u+w,go-w,a+rX-st . # Let's put the package in /opt/icon instead of filling /usr/lib # (and not a '/usr/lib/icon' subdirectory) with icon-related files. |