From fdcef5c14cabedabdfc4ff2ad8b49e30598ea2ab Mon Sep 17 00:00:00 2001 From: witt Date: Mon, 4 Nov 2024 17:14:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=BB=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E7=9B=B8=E5=90=8C=E6=97=B6=EF=BC=8C=E5=85=88?= =?UTF-8?q?=E8=A1=8C=E7=89=88=E6=9C=AC=E5=8F=B7=E6=80=BB=E5=B0=8F=E4=BA=8E?= =?UTF-8?q?=E4=B8=BB=E7=89=88=E6=9C=AC=E5=8F=B7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aur/preview/PKGBUILD | 6 +++--- aur/release/PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/aur/preview/PKGBUILD b/aur/preview/PKGBUILD index 662d393bc5..9f49d2e211 100644 --- a/aur/preview/PKGBUILD +++ b/aur/preview/PKGBUILD @@ -30,7 +30,7 @@ sha256sums=('7e24917cd0a772dcb8cb733f47c8853f1aa972a17d3fa3247dc0f085af08e28d' 'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4') # 修复不能出现短线的问题 fixver(){ - pkgver="${pkgver//[:\/\- ]/_}"; + pkgver="${pkgver//[:\/\- ]/}"; } fixver; @@ -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 diff --git a/aur/release/PKGBUILD b/aur/release/PKGBUILD index 14bf474032..ffd9bc80e3 100644 --- a/aur/release/PKGBUILD +++ b/aur/release/PKGBUILD @@ -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