summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-06-19 18:00:17 +0800
committerzxp198210052023-06-19 18:00:17 +0800
commit8c4fa7c29e30f06cca9564f9fa711f1fbaf63290 (patch)
tree2402d92695b49bb46f59e0f94750d14c29d28081
parent1d510b1d39ba02c86f32eb4384c7492ff6a23536 (diff)
downloadaur-8c4fa7c29e30f06cca9564f9fa711f1fbaf63290.tar.gz
fix errors
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD24
2 files changed, 27 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e3e2061845f..90df7ca1fe7a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,12 @@
pkgbase = wolai-bin
pkgdesc = wolai是一种新形态的文档/笔记/信息系统,它与你过去使用的所有传统文档、在线文档都有很多不同,学会使用wolai就等于拥有了一个强大的个人与团队生产力工具。
pkgver = 1.2.7
- pkgrel = 1
- url = https://www.wolai.com/
+ pkgrel = 2
+ url = https://www.wolai.com
+ arch = aarch64
+ arch = armv7h
arch = x86_64
- license = custom
+ license = freeware
depends = hicolor-icon-theme
depends = libcups
depends = nss
@@ -30,9 +32,13 @@ pkgbase = wolai-bin
depends = dbus
depends = alsa-lib
provides = wolai
- source = wolai-1.2.7.deb::https://cdn.wostatic.cn/dist/installers/wolai_1.2.7_amd64.deb
- source = LICENSE::https://www.wolai.com/pricing
- sha256sums = c6dadbc374f9d536a8cf039d748b0e5eb74a90e3b6630abb787d5c0442e78469
- sha256sums = a18cf1777eb2af01b6ba1e4d72828f37e3447c502819144c14cccaecb184d0b6
+ source = LICENSE::https://www.wolai.com/wolai/7TAksv5x4ncBwxGUunJNkq
+ sha256sums = ec6515f83f5b68653b5a1d7c642df894a7808aceaa3178ad7661634387cca1dc
+ source_aarch64 = wolai-1.2.7-aarch64.deb::https://cdn.wostatic.cn/dist/installers/wolai_1.2.7_arm64.deb
+ sha256sums_aarch64 = 6ecf889f2d0dbd0630617d56ee233ae71214663d1f01c16b160fda02c21506d7
+ source_armv7h = wolai-1.2.7-armv7h.deb::https://cdn.wostatic.cn/dist/installers/wolai_1.2.7_arm64.deb
+ sha256sums_armv7h = 6ecf889f2d0dbd0630617d56ee233ae71214663d1f01c16b160fda02c21506d7
+ source_x86_64 = wolai-1.2.7-x86_64.deb::https://cdn.wostatic.cn/dist/installers/wolai_1.2.7_amd64.deb
+ sha256sums_x86_64 = c6dadbc374f9d536a8cf039d748b0e5eb74a90e3b6630abb787d5c0442e78469
pkgname = wolai-bin
diff --git a/PKGBUILD b/PKGBUILD
index 8030a52569b4..23e0b4a5e195 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,23 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname="wolai-bin"
pkgver=1.2.7
-pkgrel=1
+pkgrel=2
pkgdesc="wolai是一种新形态的文档/笔记/信息系统,它与你过去使用的所有传统文档、在线文档都有很多不同,学会使用wolai就等于拥有了一个强大的个人与团队生产力工具。"
-arch=("x86_64")
-url="https://www.wolai.com/"
-license=('custom')
+arch=("aarch64" "armv7h" "x86_64")
+url="https://www.wolai.com"
+license=('freeware')
depends=('hicolor-icon-theme' 'libcups' 'nss' 'cairo' 'libxdamage' 'libxfixes' 'pango' 'libxext' 'gtk3' 'libxcomposite' 'nspr' \
'libdrm' 'gcc-libs' 'libxcb' 'libx11' 'expat' 'glibc' 'libxrandr' 'libxkbcommon' 'mesa' 'glib2' 'at-spi2-core' 'dbus' 'alsa-lib')
provides=("${pkgname%-bin}")
-source=("${pkgname%-bin}-${pkgver}.deb::https://cdn.wostatic.cn/dist/installers/${pkgname%-bin}_${pkgver}_amd64.deb"
- "LICENSE::https://www.wolai.com/pricing")
-sha256sums=('c6dadbc374f9d536a8cf039d748b0e5eb74a90e3b6630abb787d5c0442e78469'
- 'a18cf1777eb2af01b6ba1e4d72828f37e3447c502819144c14cccaecb184d0b6')
+source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::https://cdn.wostatic.cn/dist/installers/${pkgname%-bin}_${pkgver}_arm64.deb")
+source_armv7h=("${pkgname%-bin}-${pkgver}-armv7h.deb::https://cdn.wostatic.cn/dist/installers/${pkgname%-bin}_${pkgver}_arm64.deb")
+source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::https://cdn.wostatic.cn/dist/installers/${pkgname%-bin}_${pkgver}_amd64.deb")
+source=("LICENSE::${url}/${pkgname%-bin}/7TAksv5x4ncBwxGUunJNkq")
+sha256sums=('ec6515f83f5b68653b5a1d7c642df894a7808aceaa3178ad7661634387cca1dc')
+sha256sums_aarch64=('6ecf889f2d0dbd0630617d56ee233ae71214663d1f01c16b160fda02c21506d7')
+sha256sums_armv7h=('6ecf889f2d0dbd0630617d56ee233ae71214663d1f01c16b160fda02c21506d7')
+sha256sums_x86_64=('c6dadbc374f9d536a8cf039d748b0e5eb74a90e3b6630abb787d5c0442e78469')
package() {
- bsdtar -xf data.tar.xz -C "${pkgdir}"
+ bsdtar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
+} \ No newline at end of file