Compare commits

..

2 Commits

Author SHA1 Message Date
fbt
4939405926 ABS is not using SVN anymore
Signed-off-by: fbt <fbt@fleshless.org>
2023-10-26 14:54:30 +00:00
fbt
e9bdb6b4e1 rpc url
Signed-off-by: fbt <fbt@fleshless.org>
2022-02-14 22:20:00 +03:00

15
prm
View File

@ -159,18 +159,7 @@ aur.get() {
} }
abs.get() { abs.get() {
declare pkg_repo svn_repo git clone "https://gitlab.archlinux.org/archlinux/packaging/packages/$1.git" "$cfg_workdir/$1"
pkg_repo="$2"
case "$pkg_repo" in
(community|multilib)
svn_repo='community';;
(*)
svn_repo='packages';;
esac
svn export "svn://svn.archlinux.org/${svn_repo}/${1}/trunk" "${cfg_workdir}/${1}"
} }
set_argv() { set_argv() {
@ -265,7 +254,7 @@ main() {
unset flag_search_aur flag_search_syncdb unset flag_search_aur flag_search_syncdb
} }
cfg_aur_api="${cfg_aur_url}/rpc.php/rpc/?v=5" cfg_aur_api="${cfg_aur_url}/rpc?v=5"
if (( flag_search )); then if (( flag_search )); then
action=search action=search