Package Details: autobrr 1.30.0-1

Git Clone URL: https://aur.archlinux.org/autobrr.git (read-only, click to copy)
Package Base: autobrr
Description: The modern download automation tool for torrents
Upstream URL: https://autobrr.com
Licenses: GPL2
Submitter: grawlinson
Maintainer: grawlinson
Last Packager: grawlinson
Votes: 1
Popularity: 0.005116
First Submitted: 2022-08-21 08:54 (UTC)
Last Updated: 2023-09-27 03:51 (UTC)

Latest Comments

fryfrog commented on 2023-08-10 14:09 (UTC) (edited on 2023-08-10 14:09 (UTC) by fryfrog)

It builds inside a clean chroot for me too, what in the world?

I had nodejs and npm installed to start, added pnpm package when it failed, would that cause nodejs package to not provide them? I'll play around w/ this a little more later.

grawlinson commented on 2023-08-10 04:53 (UTC)

It works in (and out of) a clean chroot, so the problem lies elsewhere.

fryfrog commented on 2023-08-10 03:53 (UTC)

When I updated autobrr w/ paru, it did not install any additional depedencies. It then failed trying to find pnpm. After installing extras/pnpm, it worked.

fryfrog@apollo ~  ❯ paru -Ql nodejs | grep bin
nodejs /usr/bin/
nodejs /usr/bin/corepack
nodejs /usr/bin/node
nodejs /usr/share/doc/node/gdbinit
fryfrog@apollo ~  ❯ paru -Qo $( which pnpm )
/usr/bin/pnpm is owned by pnpm 8.6.12-1

grawlinson commented on 2023-08-10 03:46 (UTC)

See L55-58 of the PKGBUILD: nodejs provides corepack, which provides npm, yarn, and pnpm.

fryfrog commented on 2023-08-10 03:01 (UTC)

I think pnpm needs to be a dependency. I just tried to upgrade and it wanted to run that, but twasn't installed.

katt commented on 2023-06-26 13:14 (UTC)

pnpm is in the official repos, and autobrr builds and runs just fine when built with it

diff --git a/PKGBUILD b/PKGBUILD
index 9852d96..a95d5ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ depends=('glibc')
 makedepends=(
   'git'
   'go'
-  'nodejs'
+  'pnpm'
 )
 optdepends=(
   'postgresql'
@@ -52,11 +52,6 @@ prepare() {
   export GOPATH="${srcdir}"
   go mod download

-  # setup corepack
-  mkdir tmp-bin
-  corepack enable --install-directory "$(pwd)/tmp-bin"
-  export PATH="$(pwd)/tmp-bin:$PATH"
-
   # download node dependencies
   cd web
   pnpm install --frozen-lockfile

katt commented on 2023-05-18 09:02 (UTC)

Upstream switched to pnpm from yarn, maybe we should do the same in the pkgbuild?

https://github.com/autobrr/autobrr/commit/762a0bb36bda522084d97463ee4dab8f3e23cef8

fryfrog commented on 2022-09-13 20:40 (UTC)

Interesting, thanks!

grawlinson commented on 2022-09-13 02:27 (UTC)

So the makepkg cache folder only needs to hold a singular (git) repository, rather than several full-size tarballs.

And checksumming won't be skipped once verify() or git archive checksumming make it into upstream makepkg, so this is a moot point.

fryfrog commented on 2022-09-12 05:18 (UTC) (edited on 2022-09-12 05:33 (UTC) by fryfrog)

Out of curiosity, why do you use a specific git commit (and skip checksumming) instead of the published release?

Edit: Here is a git patch that switches it to released versions and adds a nice .gitignore too.