diff options
author | G. Galdini <jake@dioniso.com.br> | 2024-06-06 01:32:31 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-06 01:39:21 +0700 |
commit | 207a967b0429cc3620d301b17fc04ed981d74296 (patch) | |
tree | e4b4ec773902bb99b36ec5b6b2ff85330265f721 | |
parent | 82e95e62d64cb0baa114cf2802c41fe3b114b039 (diff) |
system/kiwix-tools-bin: Update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/kiwix-tools-bin/README | 13 | ||||
-rw-r--r-- | system/kiwix-tools-bin/docs/COPYING | 4 | ||||
-rw-r--r-- | system/kiwix-tools-bin/docs/README.md | 2 | ||||
-rw-r--r-- | system/kiwix-tools-bin/kiwix-tools-bin.SlackBuild | 21 |
4 files changed, 25 insertions, 15 deletions
diff --git a/system/kiwix-tools-bin/README b/system/kiwix-tools-bin/README index 44081c35d2..3535a683bd 100644 --- a/system/kiwix-tools-bin/README +++ b/system/kiwix-tools-bin/README @@ -5,7 +5,16 @@ On a boat, in the middle of nowhere or in Jail, Kiwix gives you access to the whole human knowledge. You don't need Internet, everything is stored on your computer, USB flash drive or DVD! -This is a repack of the official binary; it does not compile from +kiwix-tools-bin provides all the three binaries by default: + kiwix-serve - Kiwix HTTP Server + kiwix-manage - Kiwix Library Manager + kiwix-search - Find articles using a fulltext search pattern + +All this above is used for manipulate ZIM files. + +--- + +This is a repack of the official binaries; it does not compile from source. Only 32-bit x86, 64-bit x86_64, and 64-bit aarch64 are supported. @@ -14,7 +23,7 @@ URL in the .info file, you'll have to download it manually. The file is: https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-aarch64-3.7.0.tar.gz -md5 hash of this package: 12ab8a0d67dee5f63c0a85d9d089b5f2 +MD5 hash of that: 12ab8a0d67dee5f63c0a85d9d089b5f2 Note: currently there is no kiwix-tools build that compiles from source. If someday someone submits one, be aware that it will likely conflict diff --git a/system/kiwix-tools-bin/docs/COPYING b/system/kiwix-tools-bin/docs/COPYING index 4432540474..bf0f7d37fd 100644 --- a/system/kiwix-tools-bin/docs/COPYING +++ b/system/kiwix-tools-bin/docs/COPYING @@ -77,7 +77,7 @@ modification follow. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. - + "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. @@ -510,7 +510,7 @@ actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. - + If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties diff --git a/system/kiwix-tools-bin/docs/README.md b/system/kiwix-tools-bin/docs/README.md index 81457d8eba..684b0ebdc5 100644 --- a/system/kiwix-tools-bin/docs/README.md +++ b/system/kiwix-tools-bin/docs/README.md @@ -113,7 +113,7 @@ Like for the installation, you might need to run the command as `root` Docker ------ -An official Docker image of the Kiwix tools can be found on +An official Docker image of the Kiwix tools can be found on [GHCR](https://ghcr.io/kiwix/kiwix-tools). A `kiwix-serve` dedicated Docker image [exists too](https://ghcr.io/kiwix/kiwix-serve). diff --git a/system/kiwix-tools-bin/kiwix-tools-bin.SlackBuild b/system/kiwix-tools-bin/kiwix-tools-bin.SlackBuild index 4e9e4115be..83cb05513a 100644 --- a/system/kiwix-tools-bin/kiwix-tools-bin.SlackBuild +++ b/system/kiwix-tools-bin/kiwix-tools-bin.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for kiwix-tools-bin -# Copyright 2024 G. Galdini <jake@dioniso.com.br> Brazil +# Copyright 2024 G. Galdini <jake@dioniso.com.br> Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -34,7 +34,7 @@ case "${ARCH:-$(uname -m)}" in i?86) ARCH=i586 ;; aarch64) ARCH=aarch64 ;; x86_64) ARCH=x86_64 ;; - *) echo 'This script not support your architecture.' ; exit 1 ;; + *) echo "This script not support your architecture - ($ARCH)" ; exit 1 ;; esac if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then @@ -46,26 +46,27 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Binaries already stripped -PBIN=${PRGNAM%-bin}_linux-${ARCH}-${VERSION} +# Package with the three binaries +PKGBIN=${PRGNAM%-bin}_linux-${ARCH}-${VERSION} set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PBIN -tar xvf $CWD/$PBIN.tar.gz -cd $PBIN +rm -rf $PKGBIN +tar xvf $CWD/$PKGBIN.tar.gz +cd $PKGBIN mkdir -p $PKG/usr/{bin,man/man1} -install -m0755 -oroot -groot * $PKG/usr/bin -install -m0644 -oroot -groot $CWD/docs/man/*.? $PKG/usr/man/man1 + +install -m 755 -oroot -groot * $PKG/usr/bin +cp -a $CWD/docs/man/*.? $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -install -m0644 -oroot -groot $CWD/docs/{README.md,AUTHORS,COPYING,Changelog} \ +cp -a $CWD/docs/{README.md,AUTHORS,COPYING,Changelog} \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |