aboutsummaryrefslogtreecommitdiff
path: root/games/spring/spring.SlackBuild
diff options
context:
space:
mode:
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