diff options
author | Brad Hermanson <apeitheo@gmail.com> | 2012-05-04 20:02:52 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-05-07 12:18:06 -0500 |
commit | cd5b4b6ceb36b2ce7e49ccb29e39b034bf2ec7e6 (patch) | |
tree | 9062a356b46ac6d95ac3b6d584f4b162252e9557 /games/quakeforge/quakeforge.SlackBuild | |
parent | a2a41e27080cd28a652147077521060ccd602ef0 (diff) | |
download | slackbuilds-cd5b4b6ceb36b2ce7e49ccb29e39b034bf2ec7e6.tar.gz |
games/quakeforge: Updated for version 0.6.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/quakeforge/quakeforge.SlackBuild')
-rw-r--r-- | games/quakeforge/quakeforge.SlackBuild | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/games/quakeforge/quakeforge.SlackBuild b/games/quakeforge/quakeforge.SlackBuild index e6e93bce50..1e688d1b1b 100644 --- a/games/quakeforge/quakeforge.SlackBuild +++ b/games/quakeforge/quakeforge.SlackBuild @@ -3,7 +3,7 @@ # Brad Hermanson <apeitheo@gmail.com> PRGNAM=quakeforge -VERSION=0.6.1 +VERSION=0.6.2 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,32 +42,39 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION - chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CPPFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ --mandir=/usr/man \ - --libdir=/usr/lib${LIBDIRSUFFIX} + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux 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 +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ COPYING ChangeLog INSTALL NEWS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |