Skip to content

Commit

Permalink
fix: 修复 Linux 无法发布 AUR 测试版的问题 (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
witt-bit authored Nov 4, 2024
1 parent d68fe01 commit bd4986b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit bd4986b

Please sign in to comment.