AUR web interface

Tasklist

FS#9738 - AUR is not accepting valid PKGBUILD: Missing source variable in PKGBUILD.

Attached to Project: AUR web interface
Opened by Paweł Stankowski (Ambi) - Sunday, 02 March 2008, 12:56 GMT
Last edited by Callan Barrett (wizzomafizzo) - Tuesday, 29 July 2008, 07:02 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 1.5.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I've made swiftfox-i18n PKGBUILD based on firefox-i18n package from community repo. Tried to upload it, but I received an error 'Missing source variable in PKGBUILD.' It seems to me, that AUR is not checking non-first word when searching for 'source' word.

There are parts of my PKGBUILD (copied from firefox-i18n PKGBUILD):

...
_languages=af,ar,be,bg,ca,cs,da,de,el,en-GB,es-AR,es-ES,eu,fi,fr,fy-NL,ga-IE,gu-IN,he,hu,it,ja,ka,ko,ku,lt,mk,mn,nb-NO,nl,nn-NO,pa-IN,pl,pt-BR,pt-PT,ru,sk,sl,sv-SE,tr,zh-CN,zh-TW
...
eval source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/linux-i686/xpi/{${_languages}}.xpi)
...
This task depends upon

Closed by  Callan Barrett (wizzomafizzo)
Tuesday, 29 July 2008, 07:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  I'd like to see PKGBUILDs like this submittable in the future but we can upload the PKGBUILD now.
Comment by Loui Chang (louipc) - Tuesday, 01 April 2008, 18:14 GMT
You could just as easily make a script to generate a nice PKGBUILD for you.
You could even add something to the script to generate the md5sums.

You don't need the line continuation \ on your md5sum array by the way.
Comment by Paweł Stankowski (Ambi) - Wednesday, 02 April 2008, 09:43 GMT
Yeah, I did it like you said some days ago, but forgot to post it here: http://aur.archlinux.org/packages/swiftfox-i18n/swiftfox-i18n/PKGBUILD

There is empty source() array.

Loading...