From 3bc21202dd7df90ef2eeaf5c9e84e9c5d914b75d Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 12 Sep 2014 18:38:27 +0700 Subject: multimedia/aegisub: Fix symlink in /usr/bin. Signed-off-by: Willy Sudiarto Raharjo --- multimedia/aegisub/aegisub.SlackBuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'multimedia/aegisub') diff --git a/multimedia/aegisub/aegisub.SlackBuild b/multimedia/aegisub/aegisub.SlackBuild index 17a317cecbf7..bae60c451eaa 100644 --- a/multimedia/aegisub/aegisub.SlackBuild +++ b/multimedia/aegisub/aegisub.SlackBuild @@ -22,10 +22,10 @@ PRGNAM=aegisub VERSION=${VERSION:-3.2.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -MVER=3.1 +MVER=3.2 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -85,6 +85,11 @@ ln -s $PRGNAM-$MVER $PKG/usr/bin/$PRGNAM 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 +rm -f $PKG/usr/bin/aegisub +( + cd $PKG/usr/bin + ln -s aegisub-$MVER aegisub +) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md LICENCE $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3