summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormusiclover2022-01-03 12:15:10 +0100
committermusiclover2022-01-03 12:15:10 +0100
commitc068b0506c4fc15d2cd7dea4bf8fa54e1a01a696 (patch)
treeb570ff77d0376d17b9c9e4eb1ea97ee4ba32bfce /PKGBUILD
parent1bdae5354bf58b294819731cdd33eaf26da3472e (diff)
downloadaur-c068b0506c4fc15d2cd7dea4bf8fa54e1a01a696.tar.gz
Update to 7.1.19
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 14 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b77518c51279..ba3c0d05db0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,32 +2,31 @@
# Contributor: Valerio Pizzi (pival81) <pival81@yahoo.com>
pkgname=mybsmart
-pkgver=2
+pkgver=7.1.19
pkgrel=1
pkgdesc="Una piattaforma proprietaria di servizi e contenuti digitali per la scuola"
arch=("i686" "x86_64")
url="https://www.bsmart.it"
depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'python-atspi' 'util-linux-libs' 'libappindicator-gtk3' 'libsecret')
license=('custom')
-source_i686=('LICENSE' "https://s3-eu-west-1.amazonaws.com/res.bsmart.it/mybsmart_desktop/releases/production_v${pkgver}/linux/ia32/MybSmart.deb")
-source_x86_64=('LICENSE' "https://s3-eu-west-1.amazonaws.com/res.bsmart.it/mybsmart_desktop/releases/production_v${pkgver}/linux/x64/MybSmart.deb")
-sha256sums_i686=('2ca3e6e7951873c7d82829299181838bb7cacb5c2ad372d7ce752d6d10543b39' '94336c9a82906d2f908721d43cae1154628a1547b36e8b4465520af809bbe005')
-sha256sums_x86_64=('2ca3e6e7951873c7d82829299181838bb7cacb5c2ad372d7ce752d6d10543b39' '43df6ec5cf6cdce33d5adc3d0864c44fead985b54b147a53b3182d63dcd290b2')
+source=('LICENSE')
+source_i686=("https://s3-eu-west-1.amazonaws.com/res.bsmart.it/mybsmart_desktop/releases/production_v2/linux/MybSmart-$pkgver-ia32.deb")
+source_x86_64=("https://s3-eu-west-1.amazonaws.com/res.bsmart.it/mybsmart_desktop/releases/production_v2/linux/MybSmart-$pkgver-x64.deb")
+md5sums=('a67b3a06a981aef1088341080af800b5')
+sha256sums_i686=('53dc8cd5f734210621f509f59fec2383ba308586fb6653bf78433d9ece43ba35')
+sha256sums_x86_64=('96f19a0357dd3b7bf590266abf64116a7cd19fdbc5156bb574ed99074b7c47ad')
package() {
- cd "${srcdir}"
+ tar -xf data.tar.xz --exclude='./usr/share/doc' -C "$pkgdir"
- tar -xf data.tar.xz -C "${pkgdir}"
-
- mkdir "${pkgdir}"/usr/bin/
-
- # Link to the library
- ln -sf /opt/MybSmart/mybsmart "${pkgdir}"/usr/bin/mybsmart
+ # Link binary
+ mkdir "$pkgdir"/usr/bin
+ ln -sf /opt/MybSmart/$pkgname "$pkgdir"/usr/bin/$pkgname
# SUID chrome-sandbox for Electron 5+
- chmod 4755 "${pkgdir}"/opt/MybSmart/chrome-sandbox || true
-
+ chmod 4755 "$pkgdir"/opt/MybSmart/chrome-sandbox || true
+
# Install license
# https://www.bsmart.it/pages/terminiecondizioni
- install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}