diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2013-01-06 21:58:51 +0100 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-01-09 18:52:24 -0500 |
commit | 99ff38e7891b891f2a36cd911ad47482c29fee4d (patch) | |
tree | 59a2ecffc6e4b603ef41edacfb82d699319b98e2 /system/smem/smem.SlackBuild | |
parent | 4123754fa99da9ffe2ecdbf188ec8013429f9c74 (diff) | |
download | slackbuilds-99ff38e7891b891f2a36cd911ad47482c29fee4d.tar.gz |
system/smem: Updated for version 1.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/smem/smem.SlackBuild')
-rw-r--r-- | system/smem/smem.SlackBuild | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/system/smem/smem.SlackBuild b/system/smem/smem.SlackBuild index f3a698fa50..b94e9c20ca 100644 --- a/system/smem/smem.SlackBuild +++ b/system/smem/smem.SlackBuild @@ -2,12 +2,29 @@ # Slackware build script for smem -# Written by Dušan Stefanović <stefanovic.dusan@gmail.com> - -# Modified by SlackBuilds.org +# Copyright 2009 Dušan Stefanović <stefanovic.dusan@gmail.com> +# Copyright 2013 Audrius Kažukauskas <audrius@neutrino.lt> +# 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=smem -VERSION=${VERSION:-0.1} +VERSION=${VERSION:-1.2} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,7 +34,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -32,12 +49,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -mkdir -p $PKG/usr/bin -install -m 755 smem $PKG/usr/bin +install -m 0755 -D smem $PKG/usr/bin/smem + +install -m 0644 -D smem.8 $PKG/usr/man/man8/smem.8 +gzip -9 $PKG/usr/man/man8/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp capture $PKG/usr/doc/$PRGNAM-$VERSION/ -chmod 744 $PKG/usr/doc/$PRGNAM-$VERSION/capture +cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |