aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-12 18:38:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-12 18:39:23 +0700
commit3bc21202dd7df90ef2eeaf5c9e84e9c5d914b75d (patch)
tree2a9127cdeda2cef11eba949f04175384ad1b3168 /multimedia
parent8302a9594d759ef7d3932b02706f14ae3f0a7a56 (diff)
multimedia/aegisub: Fix symlink in /usr/bin.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/aegisub/aegisub.SlackBuild9
1 files changed, 7 insertions, 2 deletions
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