aboutsummaryrefslogtreecommitdiff
path: root/system/yash/yash.SlackBuild
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/yash.SlackBuild
parent100b202453d1e4c30d2b82b56c6e15f5f8d99249 (diff)
system/yash: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/yash/yash.SlackBuild')
-rw-r--r--system/yash/yash.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/system/yash/yash.SlackBuild b/system/yash/yash.SlackBuild
index 591b8710f1c7c..50f3ee5b2dae1 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