diff options
author | Rodrigo Quelhas | 2020-02-08 01:09:04 +0000 |
---|---|---|
committer | Rodrigo Quelhas | 2020-02-08 01:09:04 +0000 |
commit | fcca0e431626c29f72af25375192afad37669df1 (patch) | |
tree | 0bd02c80d5f12ef86504da68abfc2c3f6a497416 /PKGBUILD | |
download | aur-fcca0e431626c29f72af25375192afad37669df1.tar.gz |
Added package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9837715c74a7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Mike Achtelik <mike_achtelik at hotmail dot com> +# Contributor: David Birks <david@tellus.space> +# Contributor: Michele Cereda <cereda.michele@gmail.com> +# Contributor: JokerYu <dayushinn@gmail.com> +# Contributor: Olivier Bilodeau <obilodeau@gosecure.ca> + +pkgname="barracudavpn" +pkgver="5.0.2.7" +pkgrel="1" +pkgdesc="Barracuda VPN Client for Linux" +arch=("i386" "x86_64") +install="${pkgname}.install" + +url="https://campus.barracuda.com/product/networkaccessclient" +license=("custom:FortiClientSSLVPN") + +depends=( + "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" + +fi +options=( !strip ) + +package() { + msg "Creating folders..." + mkdir -p ${pkgdir}/opt/${pkgname}/icons + mkdir -p ${pkgdir}/usr/share/applications + 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}.png ${pkgdir}/opt/${pkgname}/icons/ + install -Dm 4755 ${srcdir}/${pkgname}/${bin_file}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop +} |