summaryrefslogtreecommitdiff
path: root/system/f3/f3.SlackBuild
diff options
context:
space:
mode:
authorKonrad J Hambrick <kjhambrick@gmail.com>2018-02-01 05:30:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-01 05:30:42 +0700
commit3f0eebe1080d5fb118ad16eea4c7281d205bbca6 (patch)
treec86d8a3b96dffcc3360e9c48f1baf6cdbd88c21a /system/f3/f3.SlackBuild
parent044741e6234a1a0b67cc52e5fca5a5420f589a74 (diff)
downloadslackbuilds-3f0eebe1080d5fb118ad16eea4c7281d205bbca6.tar.gz
system/f3: Updated for version 7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/f3/f3.SlackBuild')
-rw-r--r--system/f3/f3.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/system/f3/f3.SlackBuild b/system/f3/f3.SlackBuild
index 560dbc217d..60368eeffa 100644
--- a/system/f3/f3.SlackBuild
+++ b/system/f3/f3.SlackBuild
@@ -5,7 +5,7 @@
# adapted by Konrad J Hambrick <kjhambrick@gmail.com>
PRGNAM="f3"
-VERSION=${VERSION:-6.0}
+VERSION=${VERSION:-7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -60,13 +60,14 @@ make install PREFIX=$PKG/usr
#
# optionally make f3probe, f3brew and f3fix
#
-if [ "$EXPERIMENTAL" = "YES" ]; then
- make experimental PREFIX=$PKG/usr && make install-experimental PREFIX=$PKG/usr
+if [ "$EXTRA" = "YES" ]; then
+ make extra PREFIX=$PKG/usr && make install-extra PREFIX=$PKG/usr
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m 0644 changelog README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+install -m 0644 changelog README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0755 log-f3wr f3write.h2w $PKG/usr/doc/$PRGNAM-$VERSION
+cp -pR doc $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SBo > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo