diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2013-02-10 00:48:52 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-02-14 00:26:52 -0600 |
commit | 1014d099332f9bc8021d5c9d0d4e9580140c477e (patch) | |
tree | 8d0cf368a1c4227c22999217cf44620250a40641 /development/tiled-qt/tiled-qt.SlackBuild | |
parent | d5c83a73fd0760c57e9a5013b7f1a9fb24ef1910 (diff) | |
download | slackbuilds-1014d099332f9bc8021d5c9d0d4e9580140c477e.tar.gz |
development/tiled-qt: Updated for version 0.9.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/tiled-qt/tiled-qt.SlackBuild')
-rw-r--r-- | development/tiled-qt/tiled-qt.SlackBuild | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/development/tiled-qt/tiled-qt.SlackBuild b/development/tiled-qt/tiled-qt.SlackBuild index 5916672e6a..2ccd928079 100644 --- a/development/tiled-qt/tiled-qt.SlackBuild +++ b/development/tiled-qt/tiled-qt.SlackBuild @@ -2,10 +2,28 @@ # Slackware build script for tiled -# Written by Dugan Chen (thedoogster@gmail.com) +# Copyright 2012 Dugan Chen Canada +# 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=tiled-qt -VERSION=${VERSION:-0.8.1} +VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,6 +69,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/manpage_location.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ qmake -r PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} @@ -59,6 +79,9 @@ make install INSTALL_ROOT=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING LICENSE* NEWS README.md docs/ examples/ \ |