summaryrefslogtreecommitdiff
path: root/system/yash
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-07-16 23:49:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-16 23:49:39 +0700
commitbc39abbe0cb9ffa8fd84569129aca83cc0ea6aa9 (patch)
tree422d349db165f2e1789c2e406e3504f0d29d7152 /system/yash
parent100b202453d1e4c30d2b82b56c6e15f5f8d99249 (diff)
downloadslackbuilds-bc39abbe0cb9ffa8fd84569129aca83cc0ea6aa9.tar.gz
system/yash: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/yash')
-rw-r--r--system/yash/README10
-rw-r--r--system/yash/yash.SlackBuild17
-rw-r--r--system/yash/yash.info4
3 files changed, 16 insertions, 15 deletions
diff --git a/system/yash/README b/system/yash/README
index f18b1aeb53..ca964a8139 100644
--- a/system/yash/README
+++ b/system/yash/README
@@ -1,5 +1,5 @@
-Yash, yet another shell, is a POSIX-compliant command line shell
-written by Watanabe Yuki (aka magicant) in C99 (ISO/IEC 9899:1999). It
-was originally written as a work on a university course assignment but
-the code has been re-written from scratch to meet the requirement of
-POSIX. Yash is intended to be the most POSIX-compliant shell in the world.
+Yash, yet another shell, is a POSIX-compliant command line shell written
+by Watanabe Yuki (aka magicant) in C99 (ISO/IEC 9899:1999). It was
+originally written as a work on a university course assignment, but the
+code has been re-written from scratch to meet the requirement of POSIX.
+Yash is intended to be the most POSIX-compliant shell in the world.
diff --git a/system/yash/yash.SlackBuild b/system/yash/yash.SlackBuild
index 591b8710f1..50f3ee5b2d 100644
--- a/system/yash/yash.SlackBuild
+++ b/system/yash/yash.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for yash
# Copyright 2015-2018 Leonard Schmidt <lems@gmx.net>
+# Copyright 2018 Hunter Sezen <orbea@fredslev.dk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
PRGNAM=yash
VERSION=${VERSION:-2.47}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,7 +55,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,11 +70,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sh ./configure \
- --prefix=/usr \
- --bindir=/bin \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --bindir=/bin \
+ --mandir=/usr/man
make
make install-strip DESTDIR=$PKG
@@ -88,7 +89,7 @@ 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 NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING NEWS NEWS.ja README README.ja THANKS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/yash/yash.info b/system/yash/yash.info
index 65afd8c045..d24f97d04c 100644
--- a/system/yash/yash.info
+++ b/system/yash/yash.info
@@ -6,5 +6,5 @@ MD5SUM="b84a978d8b47336cdb92fafd8473cce6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Leonard Schmidt"
-EMAIL="lems@gmx.net"
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@fredslev.dk"