diff options
author | Judd Vinet <judd@archlinux.org> | 2005-06-10 23:31:25 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-06-10 23:31:25 +0200 |
commit | d05f0047a02a2b3b3f1a07c0feb980837a3496a3 (patch) | |
tree | 5b2414521eecf5065caf41c7c5208317f1602158 /scripts/makepkg | |
parent | d48cc3bf5d0bc9aef5e816c81d3a0f6b8e2680c7 (diff) | |
download | pacman-d05f0047a02a2b3b3f1a07c0feb980837a3496a3.tar.gz pacman-d05f0047a02a2b3b3f1a07c0feb980837a3496a3.tar.xz |
Imported from pacman-2.9.6.tar.gz
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-x | scripts/makepkg | 9 |
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 |