summaryrefslogtreecommitdiff
path: root/system/yash
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2017-09-07 21:52:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-09 06:56:15 +0700
commite7032f58dacbb297b5e424035fd19241b3d26130 (patch)
treee2cf59643e6379ae7cb5cc32828612275888f165 /system/yash
parent77502fbd76ce725f45d919c8f08ab15aacba7280 (diff)
downloadslackbuilds-e7032f58dacbb297b5e424035fd19241b3d26130.tar.gz
system/yash: Move binary to /bin.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/yash')
-rw-r--r--system/yash/yash.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/yash/yash.SlackBuild b/system/yash/yash.SlackBuild
index ef058bb227..1b8eae74cf 100644
--- a/system/yash/yash.SlackBuild
+++ b/system/yash/yash.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=yash
VERSION=${VERSION:-2.45}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,13 +71,16 @@ find -L . \
sh ./configure \
--prefix=/usr \
- --bindir=/usr/bin \
+ --bindir=/bin \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION
make
make install-strip DESTDIR=$PKG
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin ; ln -sf /bin/yash yash )
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true