diff options
author | Rodrigo Quelhas | 2020-06-01 00:46:19 +0100 |
---|---|---|
committer | Rodrigo Quelhas | 2020-06-01 00:46:19 +0100 |
commit | 6cdc6d36edec4fecd3102169784e0643e4613764 (patch) | |
tree | 621064ede407a3a27dd7b27bae1efc1426b645fd /PKGBUILD | |
parent | 1cf3474127faf32dcf7e24eb6099623a42d5dee4 (diff) | |
download | aur-6cdc6d36edec4fecd3102169784e0643e4613764.tar.gz |
Updated package to version 5.1.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 6 insertions, 19 deletions
@@ -1,7 +1,6 @@ # Maintainer: Rodrigo Quelhas <rodrigo_quelhas@outlook.pt> - +pkgver="5.1.4" pkgname="barracudavpn" -pkgver="5.0.2.7" pkgrel="1" pkgdesc="Barracuda VPN Client for Linux" arch=("i386" "x86_64") @@ -11,28 +10,16 @@ url="https://campus.barracuda.com/product/networkaccessclient" license=("custom:FortiClientSSLVPN") depends=( - "sh" + "sh" "xterm" ) source=( "https://raw.githubusercontent.com/RomarQ/barracudavpn-archlinux/master/tarball/${pkgname}-${pkgver}.tar.gz" ) -sha256sums=('fb034907eed5a344ca324479df1e03652903c6b375bf506a6059fcac05a63113') - -if [ "$CARCH" = "i386" ]; -then - - bin_location="usr/local/bin" - bin_file="barracudavpn_32" - -elif [ "$CARCH" = "x86_64" ]; -then - - bin_location="usr/bin" - bin_file="barracudavpn_64" +sha256sums=('66128019ca60c0b028b3e99293aea3c6cca1dd57d5d2d8fe51cf31994764fab7') -fi +bin_location="usr/bin" options=( !strip ) package() { @@ -42,7 +29,7 @@ package() { mkdir -p ${pkgdir}/${bin_location} msg "Installing files..." - install -Dm 4755 ${srcdir}/${pkgname}/${bin_file} ${pkgdir}/${bin_location}/${pkgname} + install -Dm 4755 ${srcdir}/${pkgname}/${pkgname} ${pkgdir}/${bin_location}/${pkgname} install -Dm 4755 ${srcdir}/${pkgname}/${pkgname}.png ${pkgdir}/opt/${pkgname}/icons/ - install -Dm 4755 ${srcdir}/${pkgname}/${bin_file}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop + install -Dm 4755 ${srcdir}/${pkgname}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop } |