summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-12-13 11:19:03 +0800
committerzxp198210052023-12-13 11:19:03 +0800
commit2e13b915a84deee653829e9f1c98c2ee33371a22 (patch)
tree83b488b61cad51d7ad4ba5e5a0a46c17306baf92
parent0044f805ed19e13f51efdea6a6036034c996706e (diff)
downloadaur-2e13b915a84deee653829e9f1c98c2ee33371a22.tar.gz
fix errors
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f879daaaec50..c9738b62f0ee 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,22 @@
pkgbase = syng-bin
pkgdesc = A free, open source, cross-platform, Chinese-To-English dictionary for desktops.
pkgver = 2.0.0_beta_5
- pkgrel = 1
+ pkgrel = 2
url = https://getsyng.com/
arch = x86_64
license = GPL3
- license = custom:CC-CEDICT
+ license = CC-CEDICT
depends = hicolor-icon-theme
depends = gtk3
depends = openssl
depends = cairo
- depends = dbus
depends = gdk-pixbuf2
depends = pango
depends = webkit2gtk
provides = syng=2.0.0_beta_5
conflicts = syng
source = syng-2.0.0_beta_5.deb::https://github.com/sotch-pr35mac/syng/releases/download/v2.0.0-beta-5/syng-2_0.0.5_amd64.deb
- source = LICENSE::https://raw.githubusercontent.com.com/sotch-pr35mac/syng/v2.0.0_beta_5/LICENSE-CC-CEDICT
+ source = LICENSE-2.0.0_beta_5::https://raw.githubusercontent.com.com/sotch-pr35mac/syng/v2.0.0_beta_5/LICENSE-CC-CEDICT
sha256sums = 18d9c3474e4c486460cc34f07b00259381875f0ac22db6a3cbe24713ba1693ab
sha256sums = 997e0e57760a71dfc656727d5bc14149bae55f907990f8c75650673924434f0c
diff --git a/PKGBUILD b/PKGBUILD
index 5d1544f233f9..e6d100569680 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,15 @@
pkgname=syng-bin
_appname=syng
pkgver=2.0.0_beta_5
-pkgrel=1
+pkgrel=2
pkgdesc="A free, open source, cross-platform, Chinese-To-English dictionary for desktops."
arch=("x86_64")
url="https://getsyng.com/"
_ghurl="https://github.com/sotch-pr35mac/syng"
-license=('GPL3' "custom:CC-CEDICT")
+license=(
+ 'GPL3'
+ 'CC-CEDICT'
+)
provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
depends=(
@@ -15,14 +18,13 @@ depends=(
'gtk3'
'openssl'
'cairo'
- 'dbus'
'gdk-pixbuf2'
'pango'
'webkit2gtk'
)
source=(
"${pkgname%-bin}-${pkgver}.deb::${_ghurl}/releases/download/v${pkgver//_/-}/${pkgname%-bin}-2_0.0.5_amd64.deb"
- "LICENSE::https://raw.githubusercontent.com.com/sotch-pr35mac/syng/v${pkgver}/LICENSE-CC-CEDICT"
+ "LICENSE-${pkgver}::https://raw.githubusercontent.com.com/sotch-pr35mac/syng/v${pkgver}/LICENSE-CC-CEDICT"
)
sha256sums=('18d9c3474e4c486460cc34f07b00259381875f0ac22db6a3cbe24713ba1693ab'
'997e0e57760a71dfc656727d5bc14149bae55f907990f8c75650673924434f0c')
@@ -37,5 +39,5 @@ package() {
install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}-2.png" \
"${pkgdir}/usr/share/icons/hicolor/${_icons//@2/}/apps/${pkgname%-bin}.png"
done
- install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} \ No newline at end of file