mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
misc/ascii: Updated for version 3.12
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7b7d101233
commit
275054f5ef
2 changed files with 9 additions and 11 deletions
|
@ -8,16 +8,14 @@
|
|||
# Written by cteg <comsublant@gmx.net>
|
||||
|
||||
PRGNAM=ascii
|
||||
VERSION=${VERSION:-3.11}
|
||||
VERSION=${VERSION:-3.12}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -50,11 +48,11 @@ rm -rf $PRGNAM-$VERSION
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
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 {} \;
|
||||
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 {} \;
|
||||
|
||||
make \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="ascii"
|
||||
VERSION="3.11"
|
||||
VERSION="3.12"
|
||||
HOMEPAGE="http://www.catb.org/~esr/ascii/"
|
||||
DOWNLOAD="http://www.catb.org/~esr/ascii/ascii-3.11.tar.gz"
|
||||
MD5SUM="ba8a9392f8aa8c6b7a52923fba870579"
|
||||
DOWNLOAD="http://www.catb.org/~esr/ascii/ascii-3.12.tar.gz"
|
||||
MD5SUM="d06267813ac83ed511b7330f43fcc4ee"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue