diff options
author | Integral | 2022-07-27 14:10:57 +0800 |
---|---|---|
committer | Integral | 2022-07-27 14:10:57 +0800 |
commit | 94764719b3ce27464584c2136dbab0e5f4a7e86b (patch) | |
tree | aee3cf621cd1083e26dba73110c3d4730a836f4a | |
download | aur-94764719b3ce27464584c2136dbab0e5f4a7e86b.tar.gz |
release
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d8fcbe7ae662 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = pixso-uos + pkgdesc = A collaborative UI/UX design software. + pkgver = 1.28.0 + pkgrel = 1 + url = https://pixso.cn/ + arch = x86_64 + license = custom + depends = alsa-lib + depends = gtk3 + depends = nss + optdepends = libappindicator-gtk3: Allow Pixso to extend a menu via Ayatana indicators in Unity, KDE or Systray (GTK+ 3 library). + source = https://home-store-packages.uniontech.com/appstore/pool/appstore/c/cn.bosyun.pixso/cn.bosyun.pixso_1.28.0_amd64.deb + sha512sums = 10b251be950dcd11e9f85dc3aefa49b5ab6fcf4b59aa795785d714184b0fab6d19a33ee50cf23dddc27fbb5ad89f9de8050fad48491b23e2973d0e8e59d6b35e + +pkgname = pixso-uos diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..524ae8a1726b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer:Integral<luckys68@126.com> +pkgname=pixso-uos +pkgver=1.28.0 +pkgrel=1 +pkgdesc="A collaborative UI/UX design software." +arch=('x86_64') +url="https://pixso.cn/" +license=('custom') +depends=('alsa-lib' 'gtk3' 'nss') +optdepends=('libappindicator-gtk3: Allow Pixso to extend a menu via Ayatana indicators in Unity, KDE or Systray (GTK+ 3 library).') +source=( + "https://home-store-packages.uniontech.com/appstore/pool/appstore/c/cn.bosyun.pixso/cn.bosyun.pixso_${pkgver}_amd64.deb" +) +sha512sums=('10b251be950dcd11e9f85dc3aefa49b5ab6fcf4b59aa795785d714184b0fab6d19a33ee50cf23dddc27fbb5ad89f9de8050fad48491b23e2973d0e8e59d6b35e') + +package() { + echo " -> Extracting the data.tar.xz..." + bsdtar -xvf data.tar.xz -C "${pkgdir}/" + chmod -R 755 "${pkgdir}/opt" + + echo " -> Installing..." + # Launcher + install -Dm755 "${pkgdir}/opt/apps/cn.bosyun.pixso/files/pixso.sh" "${pkgdir}/usr/bin/${pkgname}" + # Desktop Entry + install -Dm644 "${pkgdir}/opt/apps/cn.bosyun.pixso/entries/applications/cn.bosyun.pixso.desktop" -t "${pkgdir}/usr/share/applications/" + # License + install -Dm644 "${pkgdir}/opt/apps/cn.bosyun.pixso/files/LICENSE.electron.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}/" + install -Dm644 "${pkgdir}/opt/apps/cn.bosyun.pixso/files/LICENSES.chromium.html" -t "${pkgdir}/usr/share/licenses/${pkgname}/" +} |