-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
35 lines (29 loc) · 1.03 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Rodrigo Quelhas <[email protected]>
pkgver="5.1.4"
pkgname="barracudavpn"
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=('66128019ca60c0b028b3e99293aea3c6cca1dd57d5d2d8fe51cf31994764fab7')
bin_location="usr/bin"
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}/${pkgname} ${pkgdir}/${bin_location}/${pkgname}
install -Dm 4755 ${srcdir}/${pkgname}/${pkgname}.png ${pkgdir}/opt/${pkgname}/icons/
install -Dm 4755 ${srcdir}/${pkgname}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}