diff options
Diffstat (limited to 'games/knights')
-rw-r--r-- | games/knights/knights.SlackBuild | 24 | ||||
-rw-r--r-- | games/knights/knights.info | 4 |
2 files changed, 19 insertions, 9 deletions
diff --git a/games/knights/knights.SlackBuild b/games/knights/knights.SlackBuild index 980af0246d7c..6c8712f38a8d 100644 --- a/games/knights/knights.SlackBuild +++ b/games/knights/knights.SlackBuild @@ -4,6 +4,7 @@ # Copyright 2011, 2012 Chris Abela, Malta # Copyright 2014 Ryan P.C. McQuen, ryanpcmcquen@member.fsf.org, WA +# Now maintained by B. Watson (yalhcru@gmail.com) # # All rights reserved. # @@ -24,14 +25,20 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20170309 bkw: +# - take over maintenance +# - i486 => i586 +# - binary in /usr/games +# - BUILD=2 + PRGNAM=knights VERSION=${VERSION:-2.5.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +49,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -79,13 +86,16 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ + -DBIN_INSTALL_DIR=/usr/games \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 - make install DESTDIR=$PKG + make install/strip DESTDIR=$PKG cd .. -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 +# 20170309 bkw: I thought about doing this: +#chmod 644 $PKG/usr/share/applications/kde4/$PRGNAM.desktop +# ...but most of the existing files there from other packages are +x, +# not sure if KDE cares about the permissions but I'll leave it as-is. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a DESIGN README* $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/games/knights/knights.info b/games/knights/knights.info index 57ccc666d43d..b21e7877fa81 100644 --- a/games/knights/knights.info +++ b/games/knights/knights.info @@ -6,5 +6,5 @@ MD5SUM="58237998aeee8b6414f6e6f92d070395" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Ryan P.C. McQuen" -EMAIL="ryanpcmcquen@member.fsf.org" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" |