blob: 4a12a4a1b1f955fcaae11f3f1a19f6e01f2528a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Anna Ivanova <kalterfx@gmail.com>
pkgname=tunnelbear
pkgver=1.0
pkgrel=2
pkgdesc="TunnelBear configuration for Linux"
arch=(any)
url="https://tunnelbear.com"
depends=('openvpn')
source=("https://s3.amazonaws.com/tunnelbear/linux/openvpn.zip")
sha256sums=('52706b8c3089152b955ff762e1b7a30c688785034cfc6bb85fcc751ba75ff919')
function package() {
local DESTDIR="$pkgdir/etc/openvpn/client"
local INSTALL="install -Dm u=rw,go=r"
while read filename; do
$INSTALL "openvpn/$filename" "$DESTDIR/$filename"
done < <(find 'openvpn' -type 'f' -printf '%P\n')
chmod 750 $DESTDIR
}
|