[Frugalware-darcs] pacman-g2: makepkg: -l now gets the tarballs from our mirrors, too

VMiklos vmiklos at frugalware.org
Sat Jun 30 22:18:46 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-g2;a=darcs_commitdiff;h=20070630122120-e2957-f5895a6ac32757b59ff0d01a75edc3527c3df093.gz;

[makepkg: -l now gets the tarballs from our mirrors, too
VMiklos <vmiklos at frugalware.org>**20070630122120
 though this is just about being not darcs-specific, -l option is a bit obsolete
] {
hunk ./scripts/makepkg 787
-	# TODO: -q option to download the src tarballs from Frugalware mirrros
-	quickdl="_darcs/current/"
hunk ./scripts/makepkg 792
-	cat=`pacman-g2 -Si $DOWNLOAD |grep ^G |sed 's/.* : \([^ ]*\) .*/\1/; s/-extra$//'`
-	dlpath=`echo "$dir/../$quickdl"|sed "s|extra/frugalware-$CARCH/../$quickdl|${quickdl}extra/frugalware-$CARCH/../|"`
+	cat=`pacman-g2 -Si $DOWNLOAD |grep ^G |sed 's/.* : \([^ ]*\) .*/\1/;'`
+	dlpath="$dir/../"
hunk ./scripts/makepkg 798
-	# FIXME: apps other than wget maybe not support -m
-	$FTPAGENT -m $dlpath/source/$cat/$DOWNLOAD/ 2>&1
+	# FIXME: apps other than wget may not support -m and/or -l
+	$FTPAGENT -m -l 1 $dlpath/source/$cat/$DOWNLOAD/ 2>&1
hunk ./scripts/makepkg 805
-	junk=`echo $dir|sed "s|^ftp://\(.*\)/frugalware-$arch|\1/$quickdl|;s|extra/$quickdl|${quickdl}extra/|"`/source/$cat/$DOWNLOAD/
+	junk=`echo $dir|sed "s|^.*://\(.*\)/frugalware-$arch|\1/$quickdl|"`/source/$cat/$DOWNLOAD/
}


More information about the Frugalware-darcs mailing list