Package Details: subtube-git 1-2

Git Clone URL: https://aur.archlinux.org/subtube-git.git (read-only, click to copy)
Package Base: subtube-git
Description: youtube viewer made of mpv/youtube-dl and sxiv
Upstream URL: https://github.com/nagy135/subtube
Keywords: external subscribe youtube
Licenses: MIT
Provides: subtube
Submitter: infiniter
Maintainer: infiniter
Last Packager: infiniter
Votes: 1
Popularity: 0.000000
First Submitted: 2020-09-13 16:18 (UTC)
Last Updated: 2021-08-23 07:04 (UTC)

Required by (0)

Sources (1)

Latest Comments

AlarmingApple80 commented on 2023-10-19 17:58 (UTC)

The depends=('sxiv' 'mpv' 'youtube-dl' 'xob') line needs to change youtube-dl to yt-dlp since youtube-dl support was dropped in this commit.

xob should also be considered an optional dependency.

m040601 commented on 2022-04-29 11:50 (UTC) (edited on 2022-04-29 11:50 (UTC) by m040601)

Currently fails with:

==> Making package: xob 0.3-1 (Fri 29 Apr 2022 12:49:17 PM WEST)
==> Retrieving sources...                                                           ==> Making package: subtube-git 1-2 (Fri 29 Apr 2022 12:49:17 PM WEST)              ==> Retrieving sources...                                                             -> Downloading v0.3.tar.gz...
  -> Cloning subtube-git git repo...
Cloning into bare repository '/dev/shm/aurydesty/subtube-git/subtube-git'...        
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0fatal:
 remote error:                                                                        The unauthenticated git protocol on port 9418 is no longer supported.             Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.                       
==> ERROR: Failure while downloading subtube-git git repo                               Aborting...    

infiniter commented on 2021-08-23 07:10 (UTC)

gotta admit, I had little idea what I was doing back then ...I've verified that it works now. If you see any issues still, please reply!

dreieck commented on 2020-10-30 08:47 (UTC)

... fixing the [error below], I get following error while executing package():

==> Starting package()...
mkdir -p /usr/bin
cp subtube /usr/bin/subtube
cp: cannot create regular file '/usr/bin/subtube': Permission denied
make: *** [Makefile:7: install] Error 1
==> ERROR: A failure occurred in package().

It seems to create a file directly in /usr/bin, not below ${pkgdir}.

Your DESTDIR=-statement in make install seems not to be honoured my the Makefile, so please use another method to install into ${pkgdir} (e.g. manual copying by using the install-command).

dreieck commented on 2020-10-30 08:39 (UTC)

There is an error with the directories the PKGBULD uses:

==> Starting pkgver()...
[...]/aur-subtube-git/PKGBUILD: line 17: cd: [...]/aur-subtube-git/src/subtube: No such file or directory
==> ERROR: A failure occurred in pkgver().

The problem is that you cd "$srcdir/${pkgname%-git}" (which expands to "$srcdir/subtube"), but download to cd "$srcdir/subtube-git".

You need to either download to ${pkgname%-git} or cd to "$srcdir/subtube-git".

Thanks for maintaining!