I went to submit a package last night and got this error -
Could not change to directory /home/aur/unsupported/mpdscrobbler/mpdscrobbler.
I posted a bug report but I was half asleep and this morning I clicked that I probably should have posted here first in case I was doing something stupid and the error was AURs way of kicking me in the shins for being stupid.
Here is the bug report, anyone wanna take a look and see if they can pick why it wouldn't submit?
Maybe try again with mpdscrobbler.tar.gz as name of the tarball.
There was a file named "mpdscrobbler" in the tarball, which gets extracted before it tries to create the last component of the path it was having trouble with.
Therefore, when it went to create that last component, it couldn't because of the file with that name already existing, then it tried to cd into a file, which obviously upset it.
Try renaming that file (how about mpdscrobbler.rc , or something like that, quick and dirty solution, I have removed the residual files from your previous attempts), though this should probably be considered a bug in the AUR. I've taken on the task and updated it to reflect the changes I probably need to make.
The suggestion box only accepts patches.
if it was packaged in the proper directory structure, this wouldn't be a problem, because the AUR wouldn't try to create the directory 'mpdscrobbler'
I'd suggest adding a warning for packages tarred w/o the containing directory.
tar czf mpdscrobbler/ mpdscrobbler.tar.gz