That pkgver function is really ugly. The PKGBUILD should never perform any network connections unless absolutely necessary, and this is most definitely not one of those cases. Please either make this a proper VCS PKGBUILD pulling the develop branch, or update the pkgver through some other means.
Search Criteria
Package Details: sonarr-develop-bin 4.0.13.2931-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sonarr-develop-bin.git (read-only, click to copy) |
---|---|
Package Base: | sonarr-develop-bin |
Description: | Smart PVR for newsgroup and torrent users (develop branch) |
Upstream URL: | https://sonarr.tv |
Licenses: | GPL-3.0-or-later |
Groups: | servarr-develop-bin |
Conflicts: | sonarr |
Provides: | sonarr |
Submitter: | txtsd |
Maintainer: | txtsd (fryfrog) |
Last Packager: | fryfrog |
Votes: | 10 |
Popularity: | 0.082210 |
First Submitted: | 2024-10-16 04:59 (UTC) |
Last Updated: | 2025-02-12 17:44 (UTC) |
Dependencies (20)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR)
- sqlite (sqlite-fossilAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- aria2 (aria2-gitAUR, aria2-proAUR, aria2-fastAUR, aria2-unlimitedAUR) (optional) – torrent downloader
- autobrrAUR (optional) – irc, torrent and usenet indexer proxy
- deluge (deluge-gitAUR) (optional) – torrent downloader
- jackettAUR (jackett-monoAUR, jackett-binAUR) (optional) – torrent indexer proxy
- nodejs-floodAUR (flood-gitAUR, flood-binAUR) (optional) – torrent downloader
- nzbget (nzbget-binAUR, nzbget-gitAUR, nzbget-git-debugAUR) (optional) – usenet downloader
- nzbhydra2AUR (nzbhydra2-nojava-binAUR, nzbhydra2-binAUR) (optional) – torznab and usenet indexer proxy
- postgresql (postgresql-12AUR, postgresql17-docsAUR, postgresql17AUR, postgresql13AUR, postgresql-gitAUR, postgresql16-docsAUR, postgresql16AUR, postgresql15-docsAUR, postgresql15AUR) (optional) – postgresql database
- prowlarrAUR (prowlarr-binAUR, prowlarr-developAUR, prowlarr-develop-binAUR, prowlarr-nightly-binAUR) (optional) – torrent and usenet indexer proxy
- qbittorrent (qbittorrent-enhanced-qt5AUR, qbittorrent-qt5AUR, qbittorrent-gitAUR, qbittorrent-libtorrent-v1AUR, qbittorrent-enhanced-gitAUR, qbittorrent-enhanced-uaAUR, qbittorrent-enhanced-appimageAUR, qbittorrent-enhancedAUR) (optional) – torrent downloader
- rtorrent (rtorrent-colorAUR, rtorrent-pyro-gitAUR, rtorrent-ps-chAUR, rtorrent-gitAUR, rtorrent-psAUR, rtorrent-vi-colorAUR, rtorrent-ipv6AUR) (optional) – torrent downloader
- sabnzbdAUR (sabnzbd-gitAUR) (optional) – usenet downloader
- transmission-cli (transmission-cli-gitAUR, transmission-noxunlei-cliAUR, transmission3-cliAUR) (optional) – torrent downloader (CLI and daemon)
- transmission-gtk (transmission-noxunlei-gtkAUR, transmission-gtk3AUR, transmission-gtk-gitAUR) (optional) – torrent downloader (GTK+)
- transmission-qt (transmission-qt-gitAUR, transmission-qt-ssl-gitAUR, transmission-noxunlei-qtAUR) (optional) – torrent downloader (Qt)
- vuzeAUR (vuze-extreme-modAUR) (optional) – torrent downloader
Required by (17)
- autobrr (requires sonarr) (optional)
- jellyseerr (requires sonarr) (optional)
- lunasea-bin (requires sonarr) (optional)
- nzbget-ppscript-nzbtomedia-git (requires sonarr) (optional)
- ombi (requires sonarr) (optional)
- ombi-bin (requires sonarr) (optional)
- ombi-develop (requires sonarr) (optional)
- ombi-develop-bin (requires sonarr) (optional)
- prowlarr (requires sonarr) (optional)
- prowlarr-bin (requires sonarr) (optional)
- prowlarr-develop (requires sonarr) (optional)
- prowlarr-develop-bin (requires sonarr) (optional)
- prowlarr-nightly-bin (requires sonarr) (optional)
- recyclarr (requires sonarr) (optional)
- recyclarr-bin (requires sonarr) (optional)
- sonarr-runit (requires sonarr)
- traktarr-git (requires sonarr) (optional)
Sources (8)
demize commented on 2017-01-21 20:42 (UTC)
xelra commented on 2016-10-27 13:54 (UTC) (edited on 2016-10-27 13:59 (UTC) by xelra)
Trying to install this package with pacaur gives:
sonarr-develop package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.
P.S.:
You surely have some kind of CI or at least some scripts for automation. Couldn't you make it so that the PKGBUILD is updated with pkgver and uploaded to the AUR? That would maybe also fix the SCRINFO mismatch. And it would be so much more convenient for the users of your package, because AUR helpers would work properly with it. It's really unfortunate that pkgver() functions don't get evaluated by AUR helpers for non-vcs packages.
justin8 commented on 2016-06-12 03:24 (UTC)
@xelra Sorry about that. updpkgsums overwrites SKIP checksums and broke it. Should be good now
xelra commented on 2016-06-11 09:57 (UTC)
The package doesn't seem to work anymore since a few days back. The md5 check has suddenly started to complain.
justin8 commented on 2015-10-30 22:06 (UTC)
I would like to tag it as -git or something, which would make aura/apacman/etc pick it up; but it's not a git package, so unless I manually do that all the time (new versions come out almost daily) and upload it, it won't really work.
If you don't want to do that, feel free to use my repo, it has this (and some other aur stuff) built weekly or when updates are pushed: https://repo.dray.be/dray-repo-0.7-1-any.pkg.tar.xz
xelra commented on 2015-10-30 21:09 (UTC)
Can you make it so that the version of this package updates?
If I use an AUR manager like aura, unfortunately it will not update this package, because the version stays the same.
justin8 commented on 2015-08-10 04:19 (UTC)
I won't be adding support for auto update, it completely goes against the whole philosophy of packages and the Linux ecosystem. Your package manager should handle your updates, and not random programs being able to download and modify executable binaries at will on a system, it is a glaring security hole.
If you want to follow those directions, I would suggest copying the service file from /usr/lib/systemd/system/sonarr.service to /etc/systemd/system/sonarr.service and modifying it. That way it isn't overwritten on package updates if you use it in the future, but keeps your service file changes.
The update function should also work if you just change ownership of the directory in /usr (don't do this, it's a bad idea) and if we remove the -data option, as sonarr doesn't keep that flag when it restarts itself. I'll be removing the -data flag when the regular sonarr package does, at the moment it is staying the same so that you can change from one version to the other without having to manually move files between the two locations.
Evils commented on 2015-08-10 02:12 (UTC)
Would be useful to exchange the systemd/service file with the one mentioned here to make auto update work:
http://dominicm.com/install-nzbdrone-sonarr-on-arch-linux/
justin8 commented on 2015-05-22 14:19 (UTC)
It has a pkgver function, so building the package will update to the correct version like all other VCS packages. Also saved me having to upload a new package twice a week ;)
Pinned Comments
mkomko commented on 2024-11-15 07:00 (UTC)
PSA: If you receive exceptions like "System.IO.IOException: Read-only file system" when Sonarr is importing files after updating to 4.0.10.2544, and you use your home directory for downloaded files (which is advised against), you can either move file management out of your home directory or do something like the following:
txtsd commented on 2024-10-21 03:59 (UTC) (edited on 2024-10-30 12:52 (UTC) by txtsd)
Alternate versions
sonarr (source version)
sonarr-bin (binary version)
sonarr-develop (source version of this package)