diff options
author | zaiic | 2022-10-06 19:10:44 +0800 |
---|---|---|
committer | zaiic | 2022-10-06 19:10:44 +0800 |
commit | 57f11f1eb5fde59ee442ccbe056aa41f7127f3a5 (patch) | |
tree | ac762122b146f47e62ace4c1e1ac49d71a1bfe42 | |
download | aur-57f11f1eb5fde59ee442ccbe056aa41f7127f3a5.tar.gz |
石墨文档(shimo) 全新一代云端 Office
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..013a79079003 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = shimo + pkgdesc = 石墨文档 Shimo document (An online collaborative office software). + pkgver = 3.0.4 + pkgrel = 1 + url = https://shimo.im/ + arch = x86_64 + license = custom + depends = nss + depends = gtk3 + depends = libnotify + depends = xdg-utils + depends = at-spi2-core + depends = util-linux-libs + depends = libsecret + source = https://as.smvm.cn/panther/shimo/release/linux/x64/shimo_v3.0.4-release.98ec8bb.shimo_linux-amd64.deb + sha512sums = ccebe1e6e8be1b6292a59c21aee5b24fae8ced93e6abb4f60850af9bb74696f816368224d886a979c245963ee2a20c737c89677c552af3c2574f7827b7e62aec + +pkgname = shimo diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3450ce849b8f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer:Zaiic<zaiic@qq.com> +pkgname=shimo +_pkgname=shimo +pkgver=3.0.4 +pkgrel=1 +pkgdesc="石墨文档 Shimo document (An online collaborative office software)." +arch=('x86_64') +url="https://shimo.im/" +license=('custom') +depends=('nss' 'gtk3' 'libnotify' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret') +source=( + "https://as.smvm.cn/panther/shimo/release/linux/x64/shimo_v${pkgver}-release.98ec8bb.shimo_linux-amd64.deb" +) +sha512sums=('ccebe1e6e8be1b6292a59c21aee5b24fae8ced93e6abb4f60850af9bb74696f816368224d886a979c245963ee2a20c737c89677c552af3c2574f7827b7e62aec') + +prepare() { + tar -xpf data.tar.gz -C ${srcdir} +} + +package() { + mkdir -p ${pkgdir}/usr/share/licenses/${_pkgname} + mkdir -p ${pkgdir}/usr/bin + mkdir -p ${pkgdir}/opt + cd ${srcdir} + cp -r usr ${pkgdir} + cd ${srcdir}/opt + cp -r ${_pkgname} ${pkgdir}/opt/${_pkgname} + ln -s "${pkgdir}/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" + install -Dm644 "${srcdir}/opt/shimo/LICENSE.electron.txt" -t "${pkgdir}/usr/share/licenses/${_pkgname}/" + install -Dm644 "${srcdir}/opt/shimo/LICENSES.chromium.html" -t "${pkgdir}/usr/share/licenses/${_pkgname}/" +} |