summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052024-02-28 10:43:14 +0800
committerzxp198210052024-02-28 10:43:14 +0800
commit6dcb94cb818562052c3d4fdb14e7fbbe4ec84ee5 (patch)
treea7a14d6f8a3b23914df3be78e790f82c7d9c5f11
parent206b8514c8374f2c8913ea67f1547129026deb54 (diff)
downloadaur-certmanager-bin.tar.gz
fix errors
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a034f2ddb22d..adb3ba43a57d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
pkgbase = certmanager-bin
pkgdesc = A simple and efficient local certificate management tool that provides functions such as certificate installation, certificate management, and certificate verification.一款简单高效的本地证书管理工具,提供证书安装、证书管理、证书验证等功能,支持国密证书.
pkgver = 1.0.0
- pkgrel = 3
+ pkgrel = 4
url = http://www.bitnum.com/
arch = x86_64
- license = custom:unknown
+ license = LicenseRef-custom
depends = qt6-base
depends = libglvnd
source = certmanager-1.0.0.deb::https://com-store-packages.uniontech.com/pool/appstore/c/cn.bitnum.certmanager/cn.bitnum.certmanager_1.0.0_amd64.deb
diff --git a/PKGBUILD b/PKGBUILD
index f4e57e75737e..51935f131885 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,17 +3,18 @@ pkgname=certmanager-bin
_pkgname=CertManager
_uosname="cn.bitnum.${pkgname%-bin}"
pkgver=1.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="A simple and efficient local certificate management tool that provides functions such as certificate installation, certificate management, and certificate verification.一款简单高效的本地证书管理工具,提供证书安装、证书管理、证书验证等功能,支持国密证书."
arch=('x86_64')
url="http://www.bitnum.com/"
-license=('custom:unknown')
+_dlurl="https://com-store-packages.uniontech.com/pool/appstore"
+license=('LicenseRef-custom')
depends=(
'qt6-base'
'libglvnd'
)
source=(
- "${pkgname%-bin}-${pkgver}.deb::https://com-store-packages.uniontech.com/pool/appstore/c/${_uosname}/${_uosname}_${pkgver}_amd64.deb"
+ "${pkgname%-bin}-${pkgver}.deb::${_dlurl}/c/${_uosname}/${_uosname}_${pkgver}_amd64.deb"
"${pkgname%-bin}.sh"
)
sha256sums=('e5e15c046381827d6558e4cd351b73934c3812546fc85204259ea2a20e2febd9'
@@ -22,7 +23,7 @@ build() {
sed -e "s|@appname@|${pkgname%-bin}|g" \
-e "s|@runname@|${_pkgname}|g" \
-i "${srcdir}/${pkgname%-bin}.sh"
- bsdtar -xf "${srcdir}/data.tar.xz"
+ bsdtar -xf "${srcdir}/data."*
rm -rf "${srcdir}/opt/apps/${_uosname}/files/证书管理器"
sed -e "s|/opt/apps/${_uosname}/files/${_pkgname}|${pkgname%-bin} %U|g" \
-e "s|/opt/apps/${_uosname}/entries/icons/icon.png|${pkgname%-bin}|g" \