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
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

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

Closed by  Allan McRae (Allan)
Wednesday, 09 December 2009, 11:06 GMT
Reason for closing:  None
Comment by xduugu (xduugu) - Tuesday, 08 December 2009, 16:55 GMT
It sounds to me that you actually want to use --allsource instead of --source.

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.
Comment by Jakub Vitak (mainiak) - Tuesday, 08 December 2009, 18:02 GMT
I think i really should better read man files O:-)

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 :-/
Comment by Allan McRae (Allan) - Tuesday, 08 December 2009, 23:13 GMT
I am really confused here:

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?
Comment by Jakub Vitak (mainiak) - Wednesday, 09 December 2009, 10:22 GMT
OK. You could forget it and close this ticket :)

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!

Loading...