22 Jan
2007
22 Jan
'07
10:41 p.m.
If you want to patch makepkg to use this, that would be great. The SRCDEST variable should be treated the same way now too.
Tada (below). ~ Jamie / yankees26 Signed-off-by: James Rosten <seinfeld90@gmail.com> --- pacman-lib.orig/scripts/makepkg 2007-01-22 16:44:05.000000000 -0500 +++ pacman-lib/scripts/makepkg 2007-01-22 17:38:34.000000000 -0500 @@ -27,7 +27,7 @@ myver='3.0.0' startdir=$(pwd) -PKGDEST=$startdir +PKGDEST=${PKGDEST:-$startdir} BUILDSCRIPT="PKGBUILD" PKGEXT="pkg.tar.gz" @@ -327,6 +327,8 @@ if [ -f ~/.makepkg.conf ]; then source ~/.makepkg.conf fi +SRCDEST=${SRCDEST:-"/var/cache/pacman/src"} + while [ "$#" -ne "0" ]; do case $1 in # pacman