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

fix: 修复主版本号相同时,先行版本号总小于主版本号问题 #767

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions aur/preview/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sha256sums=('7e24917cd0a772dcb8cb733f47c8853f1aa972a17d3fa3247dc0f085af08e28d'
'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4')
# 修复不能出现短线的问题
fixver(){
pkgver="${pkgver//[:\/\- ]/_}";
pkgver="${pkgver//[:\/\- ]/}";
}
fixver;

Expand All @@ -42,8 +42,8 @@ build() {
package() {
# binary
install -Dm755 "${srcdir}/build/usr/bin/"* -t "${pkgdir}/usr/bin/"
# desktop

# desktop
install -Dm644 "${srcdir}/build/usr/share/applications/"*.desktop -t "${pkgdir}/usr/share/applications"

# icon
Expand Down
4 changes: 2 additions & 2 deletions aur/release/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ build() {
package() {
# binary
install -Dm755 "${srcdir}/build/usr/bin/"* -t "${pkgdir}/usr/bin/"
# desktop

# desktop
install -Dm644 "${srcdir}/build/usr/share/applications/"*.desktop -t "${pkgdir}/usr/share/applications"

# icon
Expand Down