diff options
author | Chih-Hsuan Yen | 2018-08-27 19:35:43 +0800 |
---|---|---|
committer | Chih-Hsuan Yen | 2018-08-27 19:35:43 +0800 |
commit | 7b738ecdc902c3863569b93ec802afe2aed2417c (patch) | |
tree | a5b688944563eacb486ebd4554e1ca749cf08e31 | |
parent | 9b47205d1136953a9f56aae1008edc60b64a951d (diff) | |
download | aur-7b738ecdc902c3863569b93ec802afe2aed2417c.tar.gz |
Bump to 9.0r1.0_b739
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 66 |
2 files changed, 30 insertions, 42 deletions
@@ -1,6 +1,6 @@ pkgbase = pulse-secure pkgdesc = Pulse Connect Secure (PCS) Client - pkgver = 5.3r4.2 + pkgver = 9.0r1.0_b739 pkgrel = 1 url = https://www.pulsesecure.net/ arch = x86_64 @@ -10,12 +10,12 @@ pkgbase = pulse-secure optdepends = webkitgtk: for pulseUi frontend optdepends = psmisc: for pulsesvc -K conflicts = pulse-connect-secure - source = http://ccnet.ntu.edu.tw/vpn/Download/ps-pulse-linux-5.3r4.2-b639-centos-rhel-64-bit-installer.rpm source = pulseUi.sh source = EULA.txt - md5sums = 3244ddae0d8fbf46a6bf67eed5af42b9 md5sums = d81155461e2666c2b9d669c1b76f85fe md5sums = 261848a28201e5386ec4bf587473a48b + source_x86_64 = http://ccnet.ntu.edu.tw/vpn/Download/ps-pulse-linux-9.0r1.0-b739-centos-rhel-64-bit-installer.rpm + md5sums_x86_64 = 6739ff87ec6948c5dacdbe84971c522b pkgname = pulse-secure @@ -1,29 +1,26 @@ # Maintainer: Chih-Hsuan Yen <yan12125@gmail.com> pkgname=pulse-secure -pkgver=5.3r4.2 +pkgver=9.0r1.0_b739 pkgrel=1 -_build=639 pkgdesc='Pulse Connect Secure (PCS) Client' arch=(x86_64) license=(custom) url='https://www.pulsesecure.net/' depends=(gcc-libs libgnome-keyring) -source=(#"https://trial.pulsesecure.net/clients/ps-pulse-linux-$pkgver-b1021-centos-rhel-64-bit-installer.rpm" - "http://ccnet.ntu.edu.tw/vpn/Download/ps-pulse-linux-$pkgver-b$_build-centos-rhel-64-bit-installer.rpm" - pulseUi.sh +source=(pulseUi.sh EULA.txt) -md5sums=('3244ddae0d8fbf46a6bf67eed5af42b9' - 'd81155461e2666c2b9d669c1b76f85fe' +source_x86_64=("http://ccnet.ntu.edu.tw/vpn/Download/ps-pulse-linux-${pkgver/_/-}-centos-rhel-64-bit-installer.rpm") +md5sums=('d81155461e2666c2b9d669c1b76f85fe' '261848a28201e5386ec4bf587473a48b') +md5sums_x86_64=('6739ff87ec6948c5dacdbe84971c522b') optdepends=('webkitgtk: for pulseUi frontend' 'psmisc: for pulsesvc -K') conflicts=(pulse-connect-secure) prepare() { - mkdir -p pulse && pushd pulse + mkdir -p pulse && cd pulse tar -zxvf ../usr/local/pulse/pulse.tgz - popd } # adapted from ConfigurePulse_x86_64.sh @@ -32,43 +29,34 @@ update_build_info() { INSTALLDIR="$pkgdir"/usr/local/pulse - #We expect the version text in format example "Version: 5.3R3 comment" - BUILD_VERSION=`grep "Version: " ${INSTALLDIR}/version.txt | awk '{print $2}'` - #Fetch the last Number from the version text + BUILD_VERSION=${pkgver%_b*} + BUILD_NUMBER=${pkgver#*_b} - #Fetch Build Number. - BUILD_NUMBER=`grep "Build Number: " ${INSTALLDIR}/version.txt | awk '{print $3}'` - - if [ "X$BUILD_VERSION" != "X" ]; then - sed -i "s/BUILD_VERSION/${BUILD_VERSION}/g" ${INSTALLDIR}/html/about.html - fi - - if [ "X$BUILD_NUMBER" != "X" ]; then - sed -i "s/BUILD_NUMBER/${BUILD_NUMBER}/g" ${INSTALLDIR}/html/about.html - fi + sed -i "s/BUILD_VERSION/${BUILD_VERSION}/g" "${INSTALLDIR}/html/about.html" + sed -i "s/BUILD_NUMBER/${BUILD_NUMBER}/g" "${INSTALLDIR}/html/about.html" } package() { - install -Ddm755 "${pkgdir}"/usr/bin - install -Ddm755 "${pkgdir}"/usr/local/pulse - install -Ddm755 "${pkgdir}"/usr/share/applications - install -Ddm755 "${pkgdir}"/usr/share/licenses/$pkgname + install -Ddm755 "${pkgdir}"/usr/bin + install -Ddm755 "${pkgdir}"/usr/local/pulse + install -Ddm755 "${pkgdir}"/usr/share/applications + install -Ddm755 "${pkgdir}"/usr/share/licenses/$pkgname - install -Dm755 usr/local/pulse/PulseClient_x86_64.sh "${pkgdir}"/usr/local/pulse/ - install -Dm644 usr/local/pulse/{README,version.txt} "${pkgdir}"/usr/local/pulse/ - install -Dm755 pulse/pulseutil "${pkgdir}"/usr/local/pulse/ - install -Dm4755 pulse/pulsesvc "${pkgdir}"/usr/local/pulse/ - install -Dm755 pulse/pulseUi_centos_7_x86_64 "${pkgdir}"/usr/local/pulse/pulseUi - install -Dm755 pulse/libpulseui.so_centos_7_x86_64 "${pkgdir}"/usr/local/pulse/libpulseui.so - install -Dm644 pulse/pulseUi.desktop "${pkgdir}"/usr/share/applications/ + install -Dm755 usr/local/pulse/PulseClient_x86_64.sh "${pkgdir}"/usr/local/pulse/ + install -Dm644 usr/local/pulse/{README,version.txt} "${pkgdir}"/usr/local/pulse/ + install -Dm755 pulse/pulseutil "${pkgdir}"/usr/local/pulse/ + install -Dm4755 pulse/pulsesvc "${pkgdir}"/usr/local/pulse/ + install -Dm755 pulse/pulseUi_centos_7_x86_64 "${pkgdir}"/usr/local/pulse/pulseUi + install -Dm755 pulse/libpulseui.so_centos_7_x86_64 "${pkgdir}"/usr/local/pulse/libpulseui.so + install -Dm644 pulse/pulseUi.desktop "${pkgdir}"/usr/share/applications/ - # Wrappers & symlinks - install -Dm755 pulseUi.sh "${pkgdir}"/usr/bin/pulseUi - ln -s /usr/local/pulse/pulsesvc "${pkgdir}"/usr/bin/pulsesvc + # Wrappers & symlinks + install -Dm755 pulseUi.sh "${pkgdir}"/usr/bin/pulseUi + ln -s /usr/local/pulse/pulsesvc "${pkgdir}"/usr/bin/pulsesvc - cp -dr --no-preserve=ownership pulse/html "${pkgdir}"/usr/local/pulse/html + cp -dr --no-preserve=ownership pulse/html "${pkgdir}"/usr/local/pulse/html - install -Dm644 EULA.txt "${pkgdir}"/usr/share/licenses/$pkgname/ + install -Dm644 EULA.txt "${pkgdir}"/usr/share/licenses/$pkgname/ - update_build_info "$pkgdir" + update_build_info "$pkgdir" } |