blob: 3ee2a487934a8b13082140ae08eb8d3bb15d8d3d (
plain)
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
36
37
|
# Maintainer: Richard Hillmann <richie at project0 dot de>
pkgname=awsvpnclient
pkgver=4.1.0
pkgrel=3
pkgdesc="AWS VPN Client"
arch=('x86_64')
license=('custom')
url='https://aws.amazon.com/vpn/'
source=(
"$pkgname-$pkgver.deb::https://d20adtppz83p9s.cloudfront.net/GTK/${pkgver}/awsvpnclient_amd64.deb"
'awsvpnclient.desktop.patch'
)
sha512sums=('415a5ebe52f1093e0a51bedb7f422431458db484249a52707645a0f7bdf34b12e829bddf4d62255da402c2a070cbe3e374a5db7d2bb006bcef440fa1c60740d0'
'fad396768a5e2068920aa37c8783243124222c8159284d6756187b5963aa8d57366d4609f9f3107973af7000d4db3d35037eeef987bbbdf589b636d45164ee74')
depends=('xdg-utils' 'lsof')
makedepends=('zstd')
options=('!strip' 'staticlibs')
install='awsvpnclient.install'
package(){
tar -xf "${srcdir}/data.tar.zst" -C "${pkgdir}"
# Apply patch to fix desktop file
patch -s "${pkgdir}/usr/share/applications/awsvpnclient.desktop" "${srcdir}/awsvpnclient.desktop.patch"
# Workaround for missing compatibility of the SQL library with arch linux:
# Intentionally break the metrics agent,
# it will be unable to laod the dynamic lib and wont start but continue with error message
chmod 000 "${pkgdir}/opt/awsvpnclient/SQLite.Interop.dll"
# Permission fix
find "${pkgdir}" -type d -exec chmod 755 {} +
# License
install -Dm644 "${pkgdir}/opt/awsvpnclient/Resources/LINUX-LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${pkgdir}/usr/share/doc/awsvpnclient/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/copyright"
}
|