diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..700e275d8a5f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Generated by debtap & modified by YidaozhanYa +# Maintainer: YidaozhanYa <yidaozhan_ya@outlook.com> +# Maintainer: YidaozhanYa <yidaozhan_ya@outlook.com> +pkgname=com.seewo.easinote5 +pkgver=5.1.17.1876 +pkgrel=1 +pkgdesc="Seewo EasiNote5 for Linux." +arch=('x86_64') +url="https://gitlab.gz.cvte.cn/front-end/enow-cloud" +license=('MIT') +groups=('') +depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'libxss' 'libxtst' 'nss' 'xdg-utils') +options=('!strip' '!emptydirs') +install=${pkgname}.install +source=("https://github.com/YidaozhanYa/seewo-uos-bin/releases/download/main/EasiNote5_5.1.17.1876.deb") +sha512sums=('ac8983af4397c17c324efb1505f98028866ab68f385f05deea92e73ab1d0efe2f2c50ff591c26091e8318366f6ff16dec846b4f908083fb55325d86988b4be87') + +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 "正在刷新图标缓存" + +} |