|
|
@ -266,6 +266,12 @@ build_package() { |
|
|
|
local p="$1" # package name |
|
|
|
local p="$1" # package name |
|
|
|
local COWER_INFO="$2" |
|
|
|
local COWER_INFO="$2" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -e "$CUSTOMDIR/$p" ]; then |
|
|
|
|
|
|
|
cd "$CUSTOMDIR" |
|
|
|
|
|
|
|
AFFECTED_PKGS=("${AFFECTED_PKGS[@]}" "$p") |
|
|
|
|
|
|
|
$LIST_ONLY && return |
|
|
|
|
|
|
|
msg "[AUR] Found '$p' in '$CUSTOMDIR', Using that" |
|
|
|
|
|
|
|
else |
|
|
|
if $USE_COWER; then |
|
|
|
if $USE_COWER; then |
|
|
|
[ -z "$COWER_INFO" ] && COWER_INFO=`cower -i $p` |
|
|
|
[ -z "$COWER_INFO" ] && COWER_INFO=`cower -i $p` |
|
|
|
|
|
|
|
|
|
|
@ -306,6 +312,7 @@ build_package() { |
|
|
|
warn "[AUR] $p: Found #CUSTOMPKG; not updating PKGBUILD from AUR!" \ |
|
|
|
warn "[AUR] $p: Found #CUSTOMPKG; not updating PKGBUILD from AUR!" \ |
|
|
|
} || \ |
|
|
|
} || \ |
|
|
|
$aur_get "$p" || throw 2 "[AUR] $p: Couldn't download package" |
|
|
|
$aur_get "$p" || throw 2 "[AUR] $p: Couldn't download package" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
$DL_ONLY && return |
|
|
|
$DL_ONLY && return |
|
|
|
|
|
|
|
|
|
|
|