multimedia/aegisub: Fix symlink in /usr/bin.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-09-12 18:38:27 +07:00
parent 8302a9594d
commit 3bc21202dd

View file

@ -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