makepkg: always keep sources symlinks
commit7ddb645bd7cf7e1c56a508321df511864da411a4
authorXavier Chantry <shiningxc@gmail.com>
Wed, 5 Aug 2009 14:12:46 +0000 (5 16:12 +0200)
committerDan McGee <dan@archlinux.org>
Sun, 6 Sep 2009 20:33:54 +0000 (6 15:33 -0500)
treeb9235219648a3ecbd76bb350f34a071cdccc078e
parenta05757f984f526233e90a774beb571dba8270ff0
makepkg: always keep sources symlinks

Make bunzip2/xz/gunzip decompressing to stdout, because gzip does not offer
something like a -k option.

The selection of the decompression command for gzip/bzip2/xz compressed
files now also depends on the file suffix, since we need to strip the
extensions to get the output filename.

Thanks to Cedric Staniewski <cedric@gmx.ca> for reporting this issue and
contributing patches.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in