mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
multimedia/aegisub: Fix symlink in /usr/bin.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8302a9594d
commit
3bc21202dd
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue