Am 13.11.2010 19:04, schrieb Stéphane Gaudreault:
Le samedi 13 novembre 2010 12:15:35, Lukas Fleischer a écrit :
On Sat, Nov 13, 2010 at 06:06:13PM +0100, Florian Pritz wrote:
You should: - move everything after make into package() - remove || return 1 - replace $startdir/{pkg,src} by ${pkg,src}dir - remove the 3rd line (useless comment)
That should look similar to this http://paste.xinu.at/oksL2/
Optimally also put directories containing variables (especially "${srcdir}" or "${pkgdir}") in double quotes ('""').
Most of these "errors" are present in the wiki template. I just changed it.
By the way, Abs templates in /usr/share/pacman/ are also old style PKGBUILD. I will see with Allan to change that.
Stéphane
Hello, maybe that article should be merged with https://wiki.archlinux.org/index.php/Perl_Package_Guidelines as suggested in the "discussion" tab. Regards Stefan