2012/5/10 A Rojas <nqn1976list@gmail.com>
You are using arrays for many fields which shouldn't be arrays like: pkgname, pkgver, pkgrel. You should also quote the source URL.
------------------------------------------------------------------------------------------------------------------ 2012/5/10 Jesse Juhani Jaara <jesse.jaara@gmail.com>
to, 2012-05-10 kello 19:09 +0200, Jorge Barroso kirjoitti:
pkgname pkgver pkgrel pkgdesc url
none of those are arrays, so remove (). They might confuse makepkg, those ' marks are undeed tooas none of them include spaces. pkgdesc being an exeption, " or ' is needed there.
Not sure, but having md5sums before source could be a culprit, anyway I would put them after the sources.
optdepends usually has format optdepends=('pkgname: small description of thefunctionallity it adds')
tar xf $pkgname-$pkgver-$pkgrel-$arch.pkg.tar.xz is not needed, pacman can extract pretty much all kind of achives on its own .tar.{gz,bz2,xz} deb rpm zip, files atleast. The tar xf command was needed in the manga app PKGBUILD becouse it shipped only in deb format and deb archives have 2 archives in it, one with the data and one with meta-data files and pacman only extracts files in source=() [The main deb file]
One usually should not upload a binary packages into AUR, but instead it should be built from source code. Of course in case of s HUGE application that takes a lot of time to compile it is nice to have a binary version too. Or in case like I had a ?year? ago. Back then we didn't ship sdk package for the go-openoffice and it ment that one would have to rebuuild it from source just to be able to compile a 100kb addon for it to support Finnish spellcheckking (voikko) so I also made -bin version from Ubuntu binary packages.
I'm quite sure one should go totally with the parabola Linux instead of Arch if libre is thing they want. We have a lots of stuff that go against libre in the core repos, and just gettinga libre browser is totally ridicilous. You also are missing the i686 version.
If you really think a libre webrowser on non libre system is a good idea you should be simply stealing the PKGBUILD from here
https://projects.parabolagnulinux.org/abslibre.git/tree/libre/iceweasel-libr...
-------------------------------------------------------------------------------------------------------------------------
2012/5/10 rafael ff1 <rafael.f.f1@gmail.com>
2012/5/10 Jorge Barroso <jorge.barroso.11@gmail.com>:
Hello, I'm trying to submit the web browser Iceweasel to aur, but I'm having a problem with the md5sum. I wrote the PKGBUILD, used makepkg -g to generate the md5sum and put the output into the PKGBUILD. I made the soruce package with makepkg --source and there was no problem, and doing just makepkg to build the whole package, it is possible to install iceweasel from that package without problems, etc. the only problem is that, when downloading and installing from aur, it gives an error on the integrity check. Could anyone explain me why does it happens? my PKGBUILD it's this one:
Thanks in advance ;)
The md5sums in the pastebin is different from the AUR. Correct one is in the pastebin. That's the answer for your issue, but +1 to the comments made by others.
Rafael
-------------------------------------------------------------------------------------------------------------------------------- Thanks to all of you, those are my first packages as you should know and I'm using the proto of /usr/share/pacman to make the pkgbuild, so I'm using those arrays I think I can use for any package, but I didn't know that () will confuse makepkg (so sensitive...), I'll try to correct it. The md5sums in the pastebin is different because it has been changing between two different outputs anytime I did makepkg -g, but even now that it is not changing, and the makepkg -g output is ever the same, it stills not accepting it. Jesse, I'll try then to use that PKGBUILD, I looked for it, because I suposed it should exist, but as I didn't find it, I downloaded the package and modified the .PKGINFO file. Thanks for your help with that PKGBUILD. I know archlinux is a non libre system, and that's not bad at all because, for example, flash it's very usefull nowadays, because gnash has a lot of things to improve to be a serious subtitute, but, ever I can, I try to use free software (if it has not great problems, like gnash taking my earlier example), and Iceweasel with iceweasel-sync it's as good and fast as firefox, so... I liked it and thought about submitting it :)