On Wed, Aug 25, 2010 at 7:07 PM, Peter Lewis <pete@muddygoat.org> wrote:
Hi,
On Wednesday 25 August 2010 at 14:06 Laurent Carlier wrote:
Look at your packages, they are pretty well maintained except they should be updated in regards to last pacman features (return 1 & missing package() function)
I'm thinking that I missed the message when the "|| return 1" thing was deprecated. Can someone point me to something I can read about the change and what I'm supposed to do instead?
(AFAICT there are a lot of PKGBUILDS around that use it - and I'm pretty sure it used to be encouraged by the packaging guidelines.)
Thanks,
Pete.
Since 3.4.0, makepkg automatically aborts when when one command in the build or package functions doesn't terminate successfully. Therefore, the "|| return 1" are no longer necessary and can be removed from PKGBUILD to tidy them up. You'll probably get more info in the pacman/makepkg ChangeLog.