[pacman-dev] makepkg -w argument removed?

James Rosten seinfeld90 at gmail.com
Mon Jan 22 17:41:08 EST 2007


> 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 at 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





More information about the pacman-dev mailing list