Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#17439 - makepkg --source source=("$aur_url/file") inclusion
Attached to Project:
Arch Linux
Opened by Jakub Vitak (mainiak) - Tuesday, 08 December 2009, 13:22 GMT
Last edited by Allan McRae (Allan) - Wednesday, 09 December 2009, 11:06 GMT
Opened by Jakub Vitak (mainiak) - Tuesday, 08 December 2009, 13:22 GMT
Last edited by Allan McRae (Allan) - Wednesday, 09 December 2009, 11:06 GMT
|
DetailsDescription:
Hello. I have recently adopted and rewriten PKGBUILD for gozerbot package on AUR. http://aur.archlinux.org/packages.php?ID=9532 I am using _aur_url variable in sources - which AUR now successfuly recognizes, but makepkg --source don't include those files. Reason is to let user choose if donwload tar or only PKGBUILD and let makepkg donwload rest of files. If this is stupid idea or not arch way - pleas let me know ;-) Additional info: * pacman 3.3.3-1 Steps to reproduce: mkdir gozerbot && cd gozerbot wget http://aur.archlinux.org/packages/gozerbot/gozerbot/PKGBUILD makepkg -o makepkg --source |
This task depends upon
But that would include the gozerbot tarball too. It is not possible to include only a few remote sources via --allsource. The only possibility is running makepkg --source and adding setup.cfg to the tarball by yourself.
My idea is to use something like --aursource to detect files that should be placed on aur.
I haven't used 'makepkg --source', i did 'tar czf gozerbot.tar.gz gozerbot/'.
But will try to use --source next time ;-) and add it manually :-/
makepkg --source -> source package will all non-remote files (suitable for the AUR)
makepkg --allsource -> source package containing all needed sources.
Are you requestion something else?
My original intention - after xduugu comment - was if is something between --source and --allsource is good idea or not.
I don't know how many people are using only AUR (like me now) - but true is, you could make your own repo where
--aur-source option is useless.
So - never mind.
Thanks for responses!