Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - spotify-web-player

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: spotify-web-player 1.0.35-1

Git Clone URL: https://aur-dev.archlinux.org/spotify-web-player.git (read-only)
Package Base: spotify-web-player
Description: A Spotify Web Player wrapper in Electron
Upstream URL: https://github.com/Quacky2200/Spotify-Web-Player-for-Linux
Licenses: MIT
Conflicts: spotify-web-player-git
Submitter: twa022
Maintainer: twa022
Last Packager: twa022
Votes: 1
Popularity: 0.964707
First Submitted: 2017-01-09 19:03
Last Updated: 2017-01-15 15:40

Latest Comments

TGS commented on 2017-01-15 04:49

I get an error installing the package:
cp: cannot stat '/usr/lib/spotifywebplayer/icons/spotify.png': no such file or directory

This command runs but there is no spotify.png already in the /usr/lib/spotifywebplayer directory since the package has not been installed yet (it is still in fakeroot mode, so you need to get the spotify.png from source):
cp /usr/lib/spotifywebplayer/icons/spotify.png "${pkgdir}"/usr/share/pixmaps/spotifywebplayer.png

The correct command would be:
cp ${srcdir}/Spotify-Web-Player-for-Linux-${pkgver}"/icons/spotify.png "${pkgdir}"/usr/share/pixmaps/spotifywebplayer.png

Because after fakeroot runs scripts in the PKGBUILD (makepkg) and pacman -U [spotify-web-player-aurgitcommithash-2.tar.gz] installs the package (when it brings up the ":: Proceed with installation? [Y/n]" in the command line), all of the files from $pkgdir go to their respective directories.

It is important to note that the PKGBUILD scripts always run in fakeroot mode, and they should not touch other directories except for $srcdir and $pkgdir. Running sudo commands or touching root directories may break the installation. This is how the Arch Build System works.

Hope this helps! :)