Installing an older version of an AUR git package

Something weird happened with this package “anime-downloader-git” in the AUR repo. When installed it gives me a version number that is newer than the one in the author’s git page.

$ anime --version
anime, version 5.0.15

This doesn’t show up on the author’s git page

However according to the creator’s git page the latest release is 5.0.14 and the newer version does not exist. It also seems the new 5.0.15 version is broken as well.

$ anime watch
ERROR: Another instance of "anime watch" is already running!

It is not running, I even rebooted made sure there was nothing running.

Is there a way I can install the 5.0.14 package? as was working for me all along on my other computer until this 5.0.15 version showed up in the AUR.

*-git packages are usually not the latest release. They are usually the latest code in the repository.

That is why you are using an unreleased version. It looks like nobody is maintaining an AUR version of the latest released version.

However, you could easily edit the PKGBUILD to install the latest version. Just change the name to anime-downloader and have it pull the 5.0.14 tag.

1 Like

I pulled the PKGBUILD file and changed pkgname to remove the ending “.git” then ran “makepkg -si” but it gave me the same new version. Am I doing something wrong here?

Yes, you didn’t follow the rest of the instructions…

Give me a second and I will show you

Try this one:

pkgdesc='cli anime streamer and downloader'
depends=('aria2' 'python-beautifulsoup4' 'python-requests' 'python-click' 'python-fuzzywuzzy' 'python-coloredlogs' 'python-cfscrape' 'python-requests-cache' 'python-tabulate' 'python-pycryptodome' 'python-pysmartdl' 'python')
optdepends=('mpv: support for online anime watching')



package() {
  cd "$pkgname"
  python install --root=$pkgdir
1 Like

Thanks! That worked!

1 Like

If you save that, when the next version comes out you can just change the pkgver= line to the new version and run it again.

Thats perfect, but actually I was thinking of jumping aboard and be a maintainer for this package. I have quite a bit of learning to do before that happens though, coming from RHEL and Debian.

1 Like

That would essentially be the same process except that you would be updating it for everyone else at the same time. :slight_smile:

Take a look at the AUR guidelines to get you started.

1 Like

Thanks will do.

1 Like

Also, since it seems that since python-pysmartdl no longer exists, you may have to add that to the AUR as well.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.