-
Notifications
You must be signed in to change notification settings - Fork 76
asp 使用参考 (deprecated)
Eric Long edited this page Oct 12, 2023
·
1 revision
DEPRECATED: use pkgctl repo
instead
安装
pacman -S asp
更新数据库 asp update
[tsuibin@archlinux test_archco]$ asp update
==> updating remote 'packages'
==> updating remote 'community'
asp checkout asp 下载软件包的构建脚本 PKGBUILD ,比如asp自己
[tsuibin@archlinux test_archco]$ asp checkout asp
remote: Enumerating objects: 82, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 82 (delta 5), reused 1 (delta 1), pack-reused 69
Unpacking objects: 100% (82/82), 11.59 KiB | 698.00 KiB/s, done.
From https://github.com/archlinux/svntogit-packages
* branch packages/asp -> FETCH_HEAD
* [new branch] packages/asp -> packages/packages/asp
Cloning into 'asp'...
done.
下载后可以看到当前目录下会有一个以软件包名字命名的目录,我们用tree命令看一下这个目录的结构
[tsuibin@archlinux test_archco]$ tree asp
asp
|-- repos
| `-- extra-any
| `-- PKGBUILD
`-- trunk
`-- PKGBUILD
3 directories, 2 files
可以看到,PKGBUILD 文件已经放在 asp/trunk 目录下 一般参与开发的工程师使用trunk目录下的PKGBUILD文件,而需要基于仓库里软件版本修改参数或从新编译的用户使用repos目录下的PKGBUILD文件