aboutsummaryrefslogtreecommitdiff
path: root/office/focuswriter
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2024-01-18 16:04:41 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-19 09:51:02 +0700
commit1aa4e405cb040ac2f5ee835539a010f1f82e491d (patch)
tree45a78d32a108b4c0b2271a7bcba31e2b417d4561 /office/focuswriter
parent5d10ed3d969b2afcf34812a711203c5c76f7938d (diff)
office/focuswriter: Added aarch64 flags
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/focuswriter')
-rw-r--r--office/focuswriter/focuswriter.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/office/focuswriter/focuswriter.SlackBuild b/office/focuswriter/focuswriter.SlackBuild
index 95e413b328d9..7fbcd2430bf9 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