summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYidaozhanYa2021-10-09 18:16:34 +0800
committerYidaozhanYa2021-10-09 18:16:34 +0800
commit86e0fcb81ff0dea40e331616b373dd2a33f8c31a (patch)
tree6be86081c4060e4b7dbde598744b37071aeab639
parent7c2c041f30d41373f06aa27c7b49de4e468c9afd (diff)
downloadaur-86e0fcb81ff0dea40e331616b373dd2a33f8c31a.tar.gz
Updated PKGBUILD
-rw-r--r--PKGBUILD5
-rw-r--r--com.seewo.easinote5.install1
2 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 700e275d8a5f..eca3ebda5609 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=com.seewo.easinote5
pkgver=5.1.17.1876
pkgrel=1
-pkgdesc="Seewo EasiNote5 for Linux."
+pkgdesc="Seewo EasiNote5 希沃白板5"
arch=('x86_64')
url="https://gitlab.gz.cvte.cn/front-end/enow-cloud"
license=('MIT')
@@ -20,13 +20,10 @@ package(){
# Extract package data
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
- echo "正在解压并安装deb包"
tar xf data.tar.xz -C "${pkgdir}"
mkdir -p "${pkgdir}/usr/share/applications"
install -D -m644 "${pkgdir}/opt/apps/com.seewo.easinote5/files/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- echo "正在创建应用列表快捷方式"
sed -i "1i\#!/usr/bin/bash" "${pkgdir}/opt/apps/com.seewo.easinote5/files/com.seewo.easinote5.sh"
cp "${pkgdir}/opt/apps/com.seewo.easinote5/entries/applications/com.seewo.easinote5.desktop" "${pkgdir}/usr/share/applications/com.seewo.easinote5.desktop"
- echo "正在刷新图标缓存"
}
diff --git a/com.seewo.easinote5.install b/com.seewo.easinote5.install
index b50ffb36e4a2..869477c1aad3 100644
--- a/com.seewo.easinote5.install
+++ b/com.seewo.easinote5.install
@@ -1,4 +1,5 @@
post_install() {
+ echo "正在刷新图标缓存"
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
}