aboutsummaryrefslogtreecommitdiff
path: root/desktop/afterstep/afterstep.SlackBuild
diff options
context:
space:
mode:
authorLeo Midha <netrixtardis@stealth3.com>2014-03-21 08:29:19 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:22 -0500
commitbeff3e2da4a4b55c6325152d6977157a8c878a03 (patch)
tree1f367ec98eaaae26f38a284a820d4b62a2e3bb3d /desktop/afterstep/afterstep.SlackBuild
parent4d1e1aa38b6f1af01276f19141a4b93e27c2beff (diff)
desktop/afterstep: Updated for version 2.2.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/afterstep/afterstep.SlackBuild')
-rw-r--r--desktop/afterstep/afterstep.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/desktop/afterstep/afterstep.SlackBuild b/desktop/afterstep/afterstep.SlackBuild
index de39d81c1ebf..e82193ae3296 100644
--- a/desktop/afterstep/afterstep.SlackBuild
+++ b/desktop/afterstep/afterstep.SlackBuild
@@ -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 )