aboutsummaryrefslogtreecommitdiff
path: root/games/spring/spring.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-18 12:40:33 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-19 01:10:57 -0600
commit1f0078a65474c77a45d42701084f6fdc3d9c5817 (patch)
treec86643e3f490676ef6422b2faa8547b671e5a989 /games/spring/spring.SlackBuild
parente9d2febb34f29434f315b663f3709f1e7ee99cae (diff)
games/spring: Updated for version 95.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/spring/spring.SlackBuild')
-rw-r--r--games/spring/spring.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/games/spring/spring.SlackBuild b/games/spring/spring.SlackBuild
index 7edc781fa03fb..cfae353279f8e 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