aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]libraries/SDL2_sound/SDL2_sound.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/SDL2_sound/SDL2_sound.SlackBuild b/libraries/SDL2_sound/SDL2_sound.SlackBuild
index 586c8874e9f2..2b2cb1ff0e10 100755..100644
--- a/libraries/SDL2_sound/SDL2_sound.SlackBuild
+++ b/libraries/SDL2_sound/SDL2_sound.SlackBuild
@@ -55,6 +55,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -87,8 +90,9 @@ cd build
make install/strip DESTDIR=$PKG
cd ..
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.a
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a docs/*.txt README* LICENSE* \
+cp -a docs/CHANGELOG* docs/CREDITS* LICENSE* README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -97,4 +101,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
-