[Frugalware-darcs] pacman-g2: scripts/*: the name " FrugalBuild" is now configurable from makepkg.conf

VMiklos vmiklos at frugalware.org
Tue Jul 3 00:17:37 CEST 2007


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

[scripts/*: the name "FrugalBuild" is now configurable from makepkg.conf
VMiklos <vmiklos at frugalware.org>**20070702221545] {
hunk ./etc/makepkg.conf.in 27
+
+# Default name of build scripts
+export BUILDSCRIPT="FrugalBuild"
hunk ./scripts/gensync 35
-	echo "gensync will generate a sync database by reading all FrugalBuild files"
+	echo "gensync will generate a sync database by reading all $BUILDSCRIPT files"
hunk ./scripts/gensync 221
-for file in `find $rootdir -name FrugalBuild`; do
+for file in `find $rootdir -name $BUILDSCRIPT`; do
hunk ./scripts/makepkg 265
-					if [ -f $pkgdir/FrugalBuild ]; then
+					if [ -f $pkgdir/$BUILDSCRIPT ]; then
hunk ./scripts/makepkg 331
-	echo "  -p <buildscript> Use an alternate build script (instead of FrugalBuild)"
+	echo "  -p <buildscript> Use an alternate build script (instead of $BUILDSCRIPT)"
hunk ./scripts/makepkg 347
-	echo "If -p is not specified, makepkg will look for ./FrugalBuild"
+	echo "If -p is not specified, makepkg will look for $BUILDSCRIPT"
hunk ./scripts/makepkg 932
-				sed "s|\(.*\)source/\(.*\)/FrugalBuild\(.*\)|\1\2\3|;/Can't find changes prior to:/,\$d" \
+				sed "s|\(.*\)source/\(.*\)/$BUILDSCRIPT\(.*\)|\1\2\3|;/Can't find changes prior to:/,\$d" \
hunk ./scripts/makepkg 936
-			chown `stat -c %u:%g FrugalBuild` \
+			chown `stat -c %u:%g $BUILDSCRIPT` \
hunk ./scripts/makepkg 1044
-		chown `stat -c %u:%g FrugalBuild` \
+		chown `stat -c %u:%g $BUILDSCRIPT` \
hunk ./scripts/makepkg 1051
-			chown `stat -c %u:%g FrugalBuild` \
+			chown `stat -c %u:%g $BUILDSCRIPT` \
hunk ./scripts/makepkg 1055
-		cp $CHROOTDIR/var/tmp/fst/FrugalBuild ./
+		cp $CHROOTDIR/var/tmp/fst/$BUILDSCRIPT ./
hunk ./scripts/makepkg 1058
-			chown -R `stat -c %u:%g FrugalBuild` pkg src
+			chown -R `stat -c %u:%g $BUILDSCRIPT` pkg src
hunk ./scripts/makepkg 1376
-				msg "Updating \$sha1sums() in the FrugalBuild."
+				msg "Updating \$sha1sums() in the $BUILDSCRIPT."
hunk ./scripts/makeworld 135
-		if [ -f FrugalBuild ]; then
-			. FrugalBuild
+		if [ -f $BUILDSCRIPT ]; then
+			. $BUILDSCRIPT
hunk ./scripts/updatesync 34
-	echo "updatesync will update a sync database by reading a FrugalBuild and"
+	echo "updatesync will update a sync database by reading a $BUILDSCRIPT and"
hunk ./scripts/updatesync 41
-	echo "      It takes the package's FrugalBuild as an option."
+	echo "      It takes the package's $BUILDSCRIPT as an option."
hunk ./scripts/updatesync 48
-	echo "example:  updatesync upd /home/mypkgs/custom.fdb FrugalBuild"
+	echo "example:  updatesync upd /home/mypkgs/custom.fdb $BUILDSCRIPT"
hunk ./scripts/updatesync 188
-	echo $1 | grep FrugalBuild 2>&1 >/dev/null
+	echo $1 | grep $BUILDSCRIPT 2>&1 >/dev/null
}


More information about the Frugalware-darcs mailing list