Skip to content
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

[Feature request]使updpkgsum变成update_pkgver_and_pkgrel的可选项 #74

Closed
heavysink opened this issue Sep 21, 2018 · 2 comments
Closed

Comments

@heavysink
Copy link

我手上有些包可以从网上自动下载sum...比如说类似于这样的PKGBUILD

_sha1="$(curl https://www.giss.nasa.gov/tools/panoply/download/Panoply-${pkgver}.sha1.txt 2>/dev/null | grep 'PanoplyJ..zip' | grep -o '^[^ ]')"
sha1sums=("${_sha1}"
...
update_pkgver_and_pkgrel貌似会强制makepkg -g 然后updpkgsum,不知道可不可以让它变成可选项。默认还是自动updpkgsum啦,但是如果能够给定一个参数的话,可以只update pkgver,不update sum

@lilydjwg
Copy link
Member

加上了,加参数 updpkgsums=False 即可。

@heavysink
Copy link
Author

谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants