You are not logged in.
hi
i followed the wiki step-by-step but i am unable to pack the tar.gz so that the uploader script recognizes the PKGBUILD inside it.
i tried packing it as mentioned, packing it without a directory in it, packing it with chmod -R nobody:aur (because the files from other packs seems to be like this) and even sending in the pure PKGBUILD file.
Offline
I your PKGBUILD is somewhere like /var/abs/local/foo then at /var/abs/local type "tar -czf foo.tar.gz foo". Make sure that the foo directory contains only the files needed for the PKGBUILD to work (i.e. not the source, built package etc). i create a foo-local directories for building my AUR packages.
Offline
Hm. Make sure the name of your archive and the name of the dir are correct. For example, if you are uploading libfoo, you need this structure:
libfoo.tar.gz
----libfoo/
----libfoo/PKGBUILD
----libfoo/libfoo.install
----libfoo/any-patches-you-need.patch
And make sure pkgname=libfoo in the PKGBUILD.
Offline
the name of the pkg, the tarball and the dir in the tarball are all exactly the same (lowercase "ufoai-svn")
i pack it from $HOME/packages/ufoai-svn/ because i make all my packages there.
Offline
can you upload the tarball to some webspace? I want to take a look inside and see if I can find anything
Offline
hmm, it works now
the problem was indeed that i forgot -z while packing, didnt knew that this was needed.
i think it would be a nice idea to have this in the packaging wiki
Offline
hmm, it works now
the problem was indeed that i forgot -z while packing, didnt knew that this was needed.
i think it would be a nice idea to have this in the packaging wiki
Well, the wiki does say to submit a 'tar.gz' file, which isn't created unless you use the -z option. I suppose it couldn't hurt to spell it out for everyone though - added.
Last edited by Cerebral (2007-11-13 15:45:51)
Offline
i thought tar creates the archive in with the syntax choosen by the ending (bz2, gz etc)
Offline
Nope - I've never heard of it making that decision for you. You have to tell it explicitly.
Offline