CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added support for *.rpm source entries in pkgmk.
authorAndrew Brouwers <abrouwers@gmail.com>
Sat, 27 Mar 2010 16:29:04 +0000 (17:29 +0100)
committerTilman Sauerbeck <tilman@crux.nu>
Sat, 27 Mar 2010 16:29:04 +0000 (17:29 +0100)
pkgmk.in

index c7f54321065ce46beb0b97cf9edf02361cd0e349..8374e038784dd9e974302fce266bb252768ddffe 100755 (executable)
--- a/pkgmk.in
+++ b/pkgmk.in
@@ -162,7 +162,7 @@ unpack_source() {
        for FILE in ${source[@]}; do
                LOCAL_FILENAME=`get_filename $FILE`
                case $LOCAL_FILENAME in
-                       *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tar.xz|*.tar.lzma|*.zip)
+                       *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tar.xz|*.tar.lzma|*.zip|*.rpm)
                                COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;;
                        *)
                                COMMAND="cp $LOCAL_FILENAME $SRC" ;;