summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-xscripts/makepkg9
1 files changed, 6 insertions, 3 deletions
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 <jvinet@zeroflux.org>
+# Copyright (c) 2002-2005 by Judd Vinet <jvinet@zeroflux.org>
#
# 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