-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xim: add aur support #67
Conversation
Signed-off-by: sunrisepeak <speakshen@163.com>
加个可选项 clone 到哪 更新时判断目录是否存在 若存在 (提示是否删除仅构建时需要 而运行不需要的依赖 这会决定 makepkg 的参数) 拆分 build / install 过程 附加: 替换 github 链接 暂时没有好的方案 |
我个人的详细 aur github 换源流程: 首先 编写 #!/usr/bin/bash
replaced_args=()
for arg in "$@"; do
if [[ "$arg" =~ ^http[s]?:// ]]; then
replaced_arg=$(~/Projects/gh-mirror/replace-url "$arg")
replaced_args+=("$replaced_arg")
else replaced_args+=("$arg"); fi
done
/usr/bin/curl "${replaced_args[@]}"
然后 修改 以后 当 |
一些补充:
常用 AUR Helper 的 clone 目录: 关于
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉可以先merge进去 后续的内容太多了感觉 后面分开来慢慢想
xim: add aur pm wrapper