desktop/afterstep: Updated for version 2.2.12.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Leo Midha 2014-03-21 08:29:19 +07:00 committed by Erik Hanson
parent 4d1e1aa38b
commit beff3e2da4
2 changed files with 11 additions and 10 deletions

View file

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=afterstep
VERSION=${VERSION:-2.2.11}
VERSION=${VERSION:-2.2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -42,6 +42,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
SRCNAM=AfterStep
TREENAM=afterstep-devel
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -64,13 +65,13 @@ mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$SRCNAM-$VERSION
cd $TMP
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
cd $SRCNAM-$VERSION
cd $TREENAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -99,7 +100,7 @@ install -D -m 0755 $CWD/xinitrc.afterstep $PKG/etc/X11/xinit/xinitrc.afterstep
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/afterstep/doc/ $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYRIGHT ChangeLog INSTALL NEW README TEAM UPGRADE doc/menu.txt \
cp -a COPYRIGHT ChangeLog INSTALL NEW README TEAM \
doc/licences doc/languages doc/code $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/usr/share/afterstep ; ln -s ../../doc/$PRGNAM-$VERSION doc )

View file

@ -1,8 +1,8 @@
PRGNAM="afterstep"
VERSION="2.2.11"
VERSION="2.2.12"
HOMEPAGE="http://www.afterstep.org"
DOWNLOAD="http://downloads.sourceforge.net/afterstep/AfterStep-2.2.11.tar.bz2"
MD5SUM="dbedd3dd4cd6bad56edcab4ee6fb4de8"
DOWNLOAD="ftp://ftp.afterstep.org/stable/AfterStep-2.2.12.tar.bz2"
MD5SUM="a3ab1a878270998d420bb2a5ca15801b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""