Package Details: ani-cli-git r653.94e78d5-1

Git Clone URL: https://aur.archlinux.org/ani-cli-git.git (read-only, click to copy)
Package Base: ani-cli-git
Description: A cli to browse and watch anime. (development version)
Upstream URL: https://github.com/pystardust/ani-cli
Licenses: GPL3
Conflicts: ani-cli
Provides: ani-cli
Submitter: sgtxd
Maintainer: sgtxd
Last Packager: sgtxd
Votes: 23
Popularity: 0.133852
First Submitted: 2021-06-18 18:17 (UTC)
Last Updated: 2023-02-20 14:11 (UTC)

Pinned Comments

sgtxd commented on 2021-12-06 15:11 (UTC) (edited on 2021-12-06 15:16 (UTC) by sgtxd)

As far as i know AUR helpers don't update development (-git) packages automatically.

To update development packages with yay you need to run yay -Syu --devel, and to have yay do this automatically without --devel you would need to run yay -Syu --devel --save once.

Please check your AUR helper documentation, as some people have opened issues on the github which have already been fixed.

Latest Comments

xiota commented on 2023-06-28 00:14 (UTC)

Please add an .install file to print a warning/disclaimer when the program is installed/updated. Something like:

This program is to be used at the user's own risk, based on their government and laws.

See disclaimer.md.

silverhikari commented on 2022-06-21 16:48 (UTC) (edited on 2022-06-21 18:37 (UTC) by silverhikari)

seems some files were moved to better fit in with the unix hierarchy, here is the new patch

--- PKGBUILD    2022-06-17 20:54:54.753995884 -0400
+++ PKGBUILD-new    2022-06-21 14:33:34.435188392 -0400
@@ -1,7 +1,6 @@
 # Maintainer: Mark Kostovetskyy <mark at sgtxd dot de >
 pkgname='ani-cli-git'
-_pkgname='ani-cli'
-pkgver=r481.1e97d1f
+pkgver=r557.7154cea
 pkgrel=1
 pkgdesc="A cli to browse and watch anime. (development version)"
 arch=('any')
@@ -17,11 +16,13 @@
 md5sums=('SKIP')

 pkgver() {
-        cd "$srcdir/${_pkgname}"
+        cd "$srcdir/${pkgname%-git}"
         printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

 package() {
-        cd "$srcdir/${_pkgname%-VCS}"
-        install -Dm755 ./ani-cli "$pkgdir/usr/bin/ani-cli"
+        cd "$srcdir/${pkgname%-git}"
+        install -d "$pkgdir/usr/lib/"
+        install -Dm755 "bin/ani-cli" "$pkgdir/usr/bin/ani-cli"
+        cp -rf "lib/ani-cli" "$pkgdir/usr/lib/"
 }

silverhikari commented on 2022-06-18 00:46 (UTC) (edited on 2022-06-18 00:56 (UTC) by silverhikari)

hey can you update the package installation as with the new v3 version of ani-cli it will no longer install correctly. as along with the ani-cli package you now also need to install UI(a file) and the players files located in the git. here is a patch

--- PKGBUILD    2022-06-17 20:54:54.753995884 -0400
+++ PKGBUILD-new    2022-06-17 20:52:59.051435130 -0400
@@ -1,7 +1,6 @@
 # Maintainer: Mark Kostovetskyy <mark at sgtxd dot de >
 pkgname='ani-cli-git'
-_pkgname='ani-cli'
-pkgver=r481.1e97d1f
+pkgver=r555.2d4d2a1
 pkgrel=1
 pkgdesc="A cli to browse and watch anime. (development version)"
 arch=('any')
@@ -17,11 +16,17 @@
 md5sums=('SKIP')

 pkgver() {
-        cd "$srcdir/${_pkgname}"
+        cd "$srcdir/${pkgname%-git}"
         printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

 package() {
-        cd "$srcdir/${_pkgname%-VCS}"
-        install -Dm755 ./ani-cli "$pkgdir/usr/bin/ani-cli"
+        cd "$srcdir/${pkgname%-git}"
+        install -Dm755 "./ani-cli" "$pkgdir/usr/bin/ani-cli"
+        install -Dm755 "./player_download" "$pkgdir/usr/bin/player_download"
+        install -Dm755 "./player_iina" "$pkgdir/usr/bin/player_iina"
+        install -Dm755 "./player_mpv" "$pkgdir/usr/bin/player_mpv"
+        install -Dm755 "./player_syncplay" "$pkgdir/usr/bin/player_syncplay"
+        install -Dm755 "./player_vlc" "$pkgdir/usr/bin/player_vlc"
+        install -Dm755 "./UI" "$pkgdir/usr/bin/UI"
 }

sgtxd commented on 2022-01-16 11:52 (UTC)

@kems Thanks for the heads up, I've caught up on the changes on ani-cli and updated the PKGBUILD accordingly

kems commented on 2022-01-16 03:40 (UTC) (edited on 2022-01-16 03:41 (UTC) by kems)

Hello, jq needs to be added as a dependency: https://github.com/pystardust/ani-cli/pull/341 Program won't start without it: Program "jq" not found. Please install it.

sgtxd commented on 2021-12-06 15:12 (UTC)

@ArMor007 Thank you for the patch, I have included it in the PKGBUILD.

sgtxd commented on 2021-12-06 15:11 (UTC) (edited on 2021-12-06 15:16 (UTC) by sgtxd)

As far as i know AUR helpers don't update development (-git) packages automatically.

To update development packages with yay you need to run yay -Syu --devel, and to have yay do this automatically without --devel you would need to run yay -Syu --devel --save once.

Please check your AUR helper documentation, as some people have opened issues on the github which have already been fixed.

ArMor007 commented on 2021-12-05 12:25 (UTC) (edited on 2021-12-05 12:26 (UTC) by ArMor007)

it doesn't work for me without his patch

diff --git a/PKGBUILD b/PKGBUILD
index 4dc0871..4bc29bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ url="https://github.com/pystardust/ani-cli"
 license=('GPL3')
 depends=('grep' 'curl' 'sed' 'mpv')
 makedepends=('git')
-source=('ani-cli::git://github.com/pystardust/ani-cli.git')
+source=('ani-cli::git+https://github.com/pystardust/ani-cli.git')
 md5sums=('SKIP')

 pkgver() {

jello_pudding commented on 2021-11-08 08:04 (UTC)

I made a mistake in flagging as out of date, I didn't realize git packages were pulled directly from upstream main branch. for future reference make sure that if you have previously installed from the github repo to uninstall before installing from here.