summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Vijay Marcel2024-02-10 00:28:44 +0100
committer Willy Sudiarto Raharjo2024-02-10 10:17:22 +0100
commita9866c3e9e7459145a7b99b0fdbb675c9d472c3e (patch)
tree29848bdb9f35d4a87712693db0b1a1cbd4be0e7e /network
parentee71b4a4ad251976c74c3b17da953d6cbe00eea8 (diff)
downloadslackbuilds-a9866c3e9e7459145a7b99b0fdbb675c9d472c3e.tar.gz
network/ani-cli: Updated for version 4.8.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/ani-cli/README10
-rw-r--r--network/ani-cli/ani-cli.SlackBuild25
-rw-r--r--network/ani-cli/ani-cli.info8
-rw-r--r--network/ani-cli/changelog13
4 files changed, 29 insertions, 27 deletions
diff --git a/network/ani-cli/README b/network/ani-cli/README
index 3854fc79b4..c475d27b95 100644
--- a/network/ani-cli/README
+++ b/network/ani-cli/README
@@ -1,5 +1,9 @@
ani-cli is an cli tool to browse and watch anime alone
-and with friends. This tool scrapes the site animixplay.
+and with friends.This tool scrapes the site allanime.
-fzf is an optional dependency. Vlc player can be used
-instead of mpv player.
+If you encounter No results found and are sure the
+prompt was correct or any breaking issue, then make
+sure you are on latest version by typing
+sudo ani-cli -U to update on Linux.
+If after this the issue persists then open an
+issue with upstream developer.
diff --git a/network/ani-cli/ani-cli.SlackBuild b/network/ani-cli/ani-cli.SlackBuild
index e6c389f7cc..4ea355891d 100644
--- a/network/ani-cli/ani-cli.SlackBuild
+++ b/network/ani-cli/ani-cli.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ani-cli
-# Copyright 2022 Vijay Marcel
+# Copyright 2022-2024 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +25,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ani-cli
-VERSION=${VERSION:-3.4}
+VERSION=${VERSION:-4.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-
ARCH=noarch
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
@@ -41,20 +40,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
@@ -71,8 +56,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-tar xvf ani-cli.1.gz
-
install -D -m755 $TMP/$PRGNAM-$VERSION/ani-cli -t $PKG/usr/bin/
install -D -m644 $TMP/$PRGNAM-$VERSION/ani-cli.1 -t $PKG/usr/man/man1/
@@ -80,11 +63,13 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CONTRIBUTING.md disclaimer.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md disclaimer.md LICENSE README.md hacking.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/network/ani-cli/ani-cli.info b/network/ani-cli/ani-cli.info
index 8937fd8264..4f32cf4d53 100644
--- a/network/ani-cli/ani-cli.info
+++ b/network/ani-cli/ani-cli.info
@@ -1,10 +1,10 @@
PRGNAM="ani-cli"
-VERSION="3.4"
+VERSION="4.8"
HOMEPAGE="https://github.com/pystardust/ani-cli"
-DOWNLOAD="https://github.com/pystardust/ani-cli/archive/v3.4/ani-cli-3.4.tar.gz"
-MD5SUM="8d352903608d292c199e32c1c844d0ae"
+DOWNLOAD="https://github.com/pystardust/ani-cli/archive/v4.8/ani-cli-4.8.tar.gz"
+MD5SUM="5111c94ff8b032192774e22da5494db2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="axel mpv"
+REQUIRES="aria2 yt-dlp fzf mpv"
MAINTAINER="Vijay Marcel"
EMAIL="vijaymarcel@outlook.com"
diff --git a/network/ani-cli/changelog b/network/ani-cli/changelog
new file mode 100644
index 0000000000..d184ac9f4b
--- /dev/null
+++ b/network/ani-cli/changelog
@@ -0,0 +1,13 @@
+Changelog for ani-cli SlackBuild Script
+--------------------------------------------------------------------
+
+26/11/2022:
+
+Added to SBo
+
+09/02/2024:
+
+Updated to version 4.8
+ani-cli now depends on fzf,aria2 instead of axel
+and yt-dlp apart from mpv.Thanks to Andrew Clemons
+for helping me figure out fzf.