blob: a906eb47fd09eace6c5e428cd858acea55424c5b (
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
|
# Maintainer: Jonathan Biegert <azrdev@googlemail.com>
# Contributor: Tobias Breitwieser <tobias@breitwieser.biz>
# Contributor: Stefan Betz <info@stefan-betz.net>
pkgname=peervpn
pkgver=0.033
pkgrel=2
pkgdesc="An open source peer-to-peer VPN"
url="http://www.peervpn.net"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('openssl')
backup=('etc/peervpn/peervpn.conf')
source=("http://www.peervpn.net/files/peervpn-${pkgver//./-}.tar.gz"
'peervpn@.service')
sha1sums=('a79fc91d08cd0179e89b68d9acfe3a55505fd16a'
'6fbbebb760d510b11fd8142712c4d6985cb0d6ca')
build() {
cd $srcdir/$pkgname-${pkgver/./-}
ln -s ../../peervpn@.service .
unset LDFLAGS
make
}
package() {
cd $srcdir/$pkgname-${pkgver/./-}
install -Dm0600 peervpn.conf $pkgdir/etc/peervpn/peervpn.conf
install -Dm0775 peervpn $pkgdir/usr/bin/peervpn
install -Dm0644 peervpn@.service $pkgdir/usr/lib/systemd/system/peervpn@.service
}
|