blob: efdd466e297379a783c5b8ebb1f5c1ca2c1f7498 (
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
|
# Maintainer: Vyacheslav Konovalov <echo dnlhY2hrb25vdmFsb3ZAcHJvdG9ubWFpbC5jb20= | base64 -d>
pkgname=freelan
pkgver=2.3.0
pkgrel=2
pkgdesc='A peer-to-peer, secure, easy-to-setup, multi-platform, open-source, highly-configurable VPN software.'
arch=('any')
url='https://freelan.org/'
license=('GPL')
depends=('boost' 'curl' 'miniupnpc' 'openssl')
makedepends=('git' 'scons')
conflicts=('freelan-git')
source=("git+https://github.com/freelan-developers/freelan.git#commit=3f4078af1f581371863a1df497c8a67f419e5076"
'patch.diff'
'freelan.service')
sha256sums=('SKIP'
'1258e88654dad23fc6defbe6e043e1ac77ef56d0f96f053e97ea775910ca664d'
'8c1682c420b8e4291d486e073e339dd312af8033d59b7c5eaaada5c5e9bf4770')
prepare() {
cd "$srcdir/freelan"
git apply ../patch.diff
}
build() {
cd "$srcdir/freelan"
scons samples --mode=release
}
package() {
cd "$srcdir/freelan"
scons --mode=release install prefix="$pkgdir" bin_prefix="$pkgdir/usr"
install -Dm644 "$srcdir/freelan.service" "$pkgdir/usr/lib/systemd/system/freelan.service"
install -Dm644 "$srcdir/freelan/LICENSE" "$pkgdir/usr/share/licenses/freelan/LICENSE"
}
|