From d05f0047a02a2b3b3f1a07c0feb980837a3496a3 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Fri, 10 Jun 2005 21:31:25 +0000 Subject: Imported from pacman-2.9.6.tar.gz --- scripts/makepkg | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'scripts/makepkg') diff --git a/scripts/makepkg b/scripts/makepkg index a4c4d23a..31e78f97 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -2,7 +2,7 @@ # # makepkg # -# Copyright (c) 2002-2004 by Judd Vinet +# Copyright (c) 2002-2005 by Judd Vinet # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ # USA. # -myver='2.9.2' +myver='2.9.6' startdir=`pwd` PKGDEST=$startdir USE_COLOR="n" @@ -357,7 +357,7 @@ if [ "`id -u`" != "0" ]; then fi fi -msg "Making package: $pkgname (`date`)" +msg "Making package: $pkgname $pkgver-$pkgrel (`date`)" unset deplist makedeplist if [ `type -p pacman` -a "$NODEPS" = "0" ]; then @@ -552,6 +552,9 @@ if [ "$NOBUILD" = "1" ]; then exit 0 fi +# use ccache if it's available +[ -d /usr/lib/ccache/bin ] && export PATH=/usr/lib/ccache/bin:$PATH + # build msg "Starting build()..." build 2>&1 -- cgit v1.2.3-24-g4f1b