From 1aa4e405cb040ac2f5ee835539a010f1f82e491d Mon Sep 17 00:00:00 2001 From: Arn0 Date: Thu, 18 Jan 2024 16:04:41 +0100 Subject: [PATCH] office/focuswriter: Added aarch64 flags Signed-off-by: Willy Sudiarto Raharjo --- office/focuswriter/focuswriter.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/office/focuswriter/focuswriter.SlackBuild b/office/focuswriter/focuswriter.SlackBuild index 95e413b328..7fbcd2430b 100644 --- a/office/focuswriter/focuswriter.SlackBuild +++ b/office/focuswriter/focuswriter.SlackBuild @@ -62,6 +62,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="" @@ -89,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING INSTALL README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mv $PKG/usr/share/man $PKG/usr