diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/spring/spring.SlackBuild | 15 | ||||
-rw-r--r-- | games/spring/spring.info | 6 |
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" |