blob: 3ef983400b7574aaad82bf997afa812ba9de3feb (
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
38
39
|
# Maintainer: Zack Didcott
pkgname=ocproxy-git
_pkgname=ocproxy
pkgver=1.60.r9.gc98f06d
pkgrel=3
epoch=
pkgdesc="A user-level SOCKS and port forwarding proxy for OpenConnect based on lwIP"
depends=('libevent' 'glibc')
makedepends=('git')
optdepends=('dante: SOCKS proxy server and client'
'openconnect: Open client for Cisco AnyConnect VPN')
provides=("ocproxy")
conflicts=("ocproxy")
arch=('i686' 'x86_64')
url="https://github.com/cernekee/ocproxy"
license=('BSD')
source=("git+https://github.com/cernekee/ocproxy.git"
"https://raw.githubusercontent.com/cernekee/ocproxy/6e2291b8fd120128873646156f8cb97b31a330fb/LICENSE")
md5sums=('SKIP'
'c15ed9963411b4566976d06cdbc1f43f')
pkgver() {
cd "$_pkgname"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir/" install
install -Dm644 $srcdir/LICENSE -t $pkgdir/usr/share/licenses/$pkgname/
}
|