[pacman-dev] makepkg and NOT extracting netfiles
Jürgen Hötzel
juergen at hoetzel.info
Tue Jan 23 14:15:50 EST 2007
On Tue, Jan 23, 2007 at 12:15:14PM -0600, Aaron Griffin wrote:
> On 1/23/07, Jürgen Hötzel <juergen at hoetzel.info> wrote:
> > Awesome. Much complexity just to guess right how the package maintainer
> > wants to prepare the sources. This should be moved into a single function
> > lookIntoTheCrystalBallAndExtractSources(). Not really KISS.
>
> Not true. I added all of 3 lines to get this functionality.
> Considering "noextract" is a very rare case, I think this is fairly
I meant the whole 42 lines in makepkg required to "guess how to extract"
the sources.
> Also, manual extraction is not very "KISS" either... if things are
> obvious, they should be handled in an obvious manner (extract a tar.gz
> file).
Nearly every build() function starts with a
"cd $startdir/src/$pkgname-$pkgver"
you could also move this (for the same reason) to makepkg but will have the
same error-prone workarounds.
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20070123/20df1007/attachment.pgp>
More information about the pacman-dev
mailing list