summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryjun2021-02-26 16:03:28 +0800
committeryjun2021-02-26 16:03:28 +0800
commitdff68745008a64c35fb039535cc7d4b3abb86afb (patch)
treebff77d798d4edb1ff68853150bb0a38b3912806b
parent141560f92aaaecbf185de552da5a744ee35ea772 (diff)
downloadaur-dff68745008a64c35fb039535cc7d4b3abb86afb.tar.gz
update: 6.4.17
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
2 files changed, 14 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d211fb1dee..a77fdf70387 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lceda-bin
pkgdesc = 免费、强大、易用的在线电路设计软件
- pkgver = 6.4.7
+ pkgver = 6.4.17
pkgrel = 1
url = https://lceda.cn/page/download
arch = x86_64
@@ -11,9 +11,9 @@ pkgbase = lceda-bin
depends = libxss
provides = lceda
conflicts = lceda
- source = lceda-6.4.7.zip::https://image.lceda.cn/files/lceda-linux-x64-6.4.7.zip
+ source = lceda-6.4.17.zip::https://image.lceda.cn/files/lceda-linux-x64-6.4.17.zip
source = LICENSE
- sha256sums = 63b2db0aa0f5d7c29185cde687bbf4a77343e55bf38c637a65b7346d458aee83
+ sha256sums = b81e77ecd6305ac73b728b51d8a7be8cb5e7eb6a9d9af2550b26b2ce427b32bd
sha256sums = 686f681d913d7f943bb5aac66cc902f2eb251e7a20fda43412c048d6134b3592
pkgname = lceda-bin
diff --git a/PKGBUILD b/PKGBUILD
index c3c113c366c..262936e4571 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=lceda-bin
_pkgname=${pkgname%-bin}
-pkgver=6.4.7
+pkgver=6.4.17
pkgrel=1
pkgdesc="免费、强大、易用的在线电路设计软件"
arch=('x86_64')
@@ -14,27 +14,29 @@ provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}-${pkgver}.zip::https://image.lceda.cn/files/${_pkgname}-linux-x64-${pkgver}.zip"
"LICENSE")
-sha256sums=('63b2db0aa0f5d7c29185cde687bbf4a77343e55bf38c637a65b7346d458aee83'
+sha256sums=('b81e77ecd6305ac73b728b51d8a7be8cb5e7eb6a9d9af2550b26b2ce427b32bd'
'686f681d913d7f943bb5aac66cc902f2eb251e7a20fda43412c048d6134b3592')
package() {
install -dm755 ${pkgdir}/opt/${_pkgname}
- unzip -q lceda-linux-x64.zip -d ${pkgdir}/opt/${_pkgname}
+ unzip lceda-linux-x64.zip -d ${pkgdir}/opt/${_pkgname}
# icon
- install -dm755 ${pkgdir}/usr/share/icons/hicolor/
- for icon in 16 32 48 64 128 256;
+ local _icon
+ for _icon in 16 32 48 64 128 256;
do
- install -Dm644 ${pkgdir}/opt/${_pkgname}/icon/${icon}x${icon}/${_pkgname}.png \
- ${pkgdir}/usr/share/icons/hicolor/${icon}x${icon}/apps/${_pkgname}.png
+ install -Dm644 ${pkgdir}/opt/${_pkgname}/icon/${_icon}x${_icon}/${_pkgname}.png \
+ ${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${_pkgname}.png
done
rm -rf ${pkgdir}/opt/${_pkgname}/icon
# desktop entry
- install -Dm644 ${pkgdir}/opt/${_pkgname}/LCEDA.dkt ${pkgdir}/usr/share/applications/${_pkgname}.desktop
+ install -Dm644 ${pkgdir}/opt/${_pkgname}/LCEDA.dkt \
+ ${pkgdir}/usr/share/applications/${_pkgname}.desktop
- sed -i 's|/lceda-linux-x64/icon/128x128/lceda.png|lceda|g' ${pkgdir}/usr/share/applications/${_pkgname}.desktop
+ sed -i 's|/lceda-linux-x64/icon/128x128/lceda.png|lceda|g' \
+ ${pkgdir}/usr/share/applications/${_pkgname}.desktop
sed -i 's|/lceda-linux-x64/||g' ${pkgdir}/usr/share/applications/${_pkgname}.desktop
rm -rf ${pkgdir}/opt/${_pkgname}/LCEDA.dkt