16 Sep
2014
16 Sep
'14
1:55 p.m.
Some suggestions for your PKGBUILD:
- You could use $pkgver inside sources=() so you don't always have to adjust the version number in two places.
- You should really quote $pkgdir and $srcdir properly: http://mywiki.wooledge.org/Quotes Your PKGBUILD will break when someone uses it inside a path with spaces in it.
Yeah, I wrote it a bit quickly, and didn't took the time to re-read myself. ;) I uploaded a new version with these issues fixed, just so that stef has a "good example" to refer to. Thanks for the comments. -- Nuno Araujo <nuno.araujo@russo79.com> http://www.russo79.com