diff --git a/archversion.conf b/archversion.conf index 08e25ea..d89a386 100644 --- a/archversion.conf +++ b/archversion.conf @@ -1,5 +1,5 @@ [DEFAULT] -downstream = aur +downstream = none eval_upstream = version.replace("-", ".").replace("_",".").replace("/",".") regex_exclude = "" timeout = 10 diff --git a/checkversion b/checkversion index 641194d..27a6870 100755 --- a/checkversion +++ b/checkversion @@ -130,9 +130,7 @@ function archversion_check() { upstream_version=$(grep -oE 'up: [^ ]*' <<< "$archversion_output" \ | sed 's|up: ||') - package_version=$(grep -oE 'aur: [^ ]*' <<< "$archversion_output" \ - | sed 's|aur: ||' \ - | sed 's|^[0-9][0-9]*:||') + package_version=$(yay -Sia "$pkg" | grep -e '^Version' | sed 's|^Version *: *||;s|-[0-9]$||') # Compare versions and handle accordingly vercmp_check "$pkg" "$upstream_version" "$package_version"