diff options
author | Yazhou Tang | 2024-03-06 00:22:17 +0800 |
---|---|---|
committer | Yazhou Tang | 2024-03-06 00:22:17 +0800 |
commit | fff89b92855ec7dc88e363d80969caea904d7472 (patch) | |
tree | 1ac8ffae0325de2ca28c7b4558c3b3df7734f168 /PKGBUILD | |
parent | 4db7fd6db2dfa94e572a5d1c66356f724e9420a0 (diff) | |
download | aur-motionpro-gui.tar.gz |
update: update to 9.4.0.505 using @beekaysee's patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,22 +1,22 @@ # Maintainer: Yazhou Tang <tangyazhou518 at outlook dot com> # Contributor: Jingrong Chen <crazyboycjr at gmail dot com> +# Contributor: Kim "BKC" Carlbäcker pkgname=motionpro-gui _pkgname=${pkgname//-/_} -pkgver=9.4.0.446 -pkgrel=2 +pkgver=9.4.0.505 +pkgrel=1 pkgdesc="Array Networks VPN Client for Linux (gui)" arch=('x86_64') url="https://support.arraynetworks.net/prx/001/http/supportportal.arraynetworks.net/downloads/downloads.html" license=('unknown') depends=('freetype2' 'qt5-base') -source=("https://support.arraynetworks.net/prx/000/http/supportportal.arraynetworks.net/downloads/pkg_9_4_0_446/MP_Linux_1.2.14/MotionPro_Linux_Ubuntu_x64.sh") - +source=("https://support.arraynetworks.net/prx/001/http/supportportal.arraynetworks.net/downloads/pkg_9_4_0_505/MP_Linux_1.2.18/MotionPro_Linux_Ubuntu_x64_build-8383-34.sh") prepare() { - chmod +x "MotionPro_Linux_Ubuntu_x64.sh" - "./MotionPro_Linux_Ubuntu_x64.sh" --keep --noexec + chmod +x "MotionPro_Linux_Ubuntu_x64_build-8383-34.sh" + "./MotionPro_Linux_Ubuntu_x64_build-8383-34.sh" --keep --noexec cd MotionPro_Linux - sed -i '32,36d' ./install.sh # remove root check - sed -i '19,23d;33,41d;50,55d;152,153d' ./install.sh # remove auto start script + sed -i '35,39d' ./install.sh # remove root check + sed -i '21,25d;36,44d;47,48d;55,66d;126,129d' ./install.sh # remove auto start script sed -i "s#prefix=#prefix=${pkgdir}#" ./install.sh sed -i '/^prefix=/amkdir -p $prefix' ./install.sh sed -i "s#target_dir=#target_dir=${pkgdir}#" ./install.sh @@ -25,10 +25,12 @@ prepare() { sed -i '/^hardware=/amkdir -p $hardware' ./install.sh sed -i "s#desktop_target=#desktop_target=${pkgdir}#" ./install.sh sed -i '/^desktop_target=/amkdir -p $desktop_target' ./install.sh + sed -i '2aset -x' ./install.sh } package() { cd MotionPro_Linux ./install.sh + rm "$pkgdir/opt/MotionPro/"libQt5* } -md5sums=('c715144c9889001c5ddd83d17efd8b17') +sha256sums=('5e9f123829a9bacef290768282c6e071ee811659440ab67cf2192f6394e36869') |