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
Licenses: MIT
Provides: subtube
Submitter: infiniter
Maintainer: infiniter
Last Packager: infiniter
Votes: 1
Popularity: 0.38
First Submitted: 2020-09-13 16:18
Last Updated: 2020-09-13 19:47

Latest Comments

dreieck commented on 2020-10-30 08:47

... 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

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!

caltlgin commented on 2020-09-13 18:28