summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2013-11-18 12:40:33 +0100
committer Robby Workman <rworkman@slackbuilds.org>2013-11-19 01:10:57 -0600
commit1f0078a65474c77a45d42701084f6fdc3d9c5817 (patch)
treec86643e3f490676ef6422b2faa8547b671e5a989 /games
parente9d2febb34f29434f315b663f3709f1e7ee99cae (diff)
downloadslackbuilds-1f0078a65474c77a45d42701084f6fdc3d9c5817.tar.gz
slackbuilds-1f0078a65474c77a45d42701084f6fdc3d9c5817.tar.xz
games/spring: Updated for version 95.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/spring/spring.SlackBuild15
-rw-r--r--games/spring/spring.info6
2 files changed, 13 insertions, 8 deletions
diff --git a/games/spring/spring.SlackBuild b/games/spring/spring.SlackBuild
index 7edc781fa0..cfae353279 100644
--- a/games/spring/spring.SlackBuild
+++ b/games/spring/spring.SlackBuild
@@ -27,7 +27,7 @@
#
PRGNAM=spring
-VERSION=89.0
+VERSION=95.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,17 +59,22 @@ rm -rf ${PRGNAM}_${VERSION}
tar xvf $CWD/${PRGNAM}_${VERSION}_src.tar.gz
cd ${PRGNAM}_${VERSION}
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_EXE_LINKER_FLAGS="-lz" \
- -DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DLIBDIR=lib${LIBDIRSUFFIX} \
+ -DMANDIR=man \
+ -DDOCDIR=doc/$PRGNAM-$VERSION \
.
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/spring/spring.info b/games/spring/spring.info
index 4030a2cc7b..abeb73daa7 100644
--- a/games/spring/spring.info
+++ b/games/spring/spring.info
@@ -1,8 +1,8 @@
PRGNAM="spring"
-VERSION="89.0"
+VERSION="95.0"
HOMEPAGE="http://springrts.com"
-DOWNLOAD="http://downloads.sourceforge.net/springrts/spring_89.0_src.tar.gz"
-MD5SUM="20f61f980dc862a029c024d82ed92f83"
+DOWNLOAD="http://downloads.sourceforge.net/springrts/spring_95.0_src.tar.gz"
+MD5SUM="dfc5ec511defc02acaf92869e31c2de8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="DevIL OpenAL p7zip jdk"