summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a0fc4b838e3542266b0f3f3a4629c098f52da36 (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
# Generated by debtap
# Maintainer: Zack Didcott

pkgname=ocproxy-bin
pkgver=1.60
pkgrel=3
pkgdesc="A user-level SOCKS and port forwarding proxy for OpenConnect based on lwIP (binary release)"
arch=('i686' 'x86_64')
url="https://github.com/cernekee/ocproxy"
license=('BSD')
depends=('libevent>=2.1.8.stable')
optdepends=('dante: SOCKS proxy server and client'
            'openconnect: Open client for Cisco AnyConnect VPN')
provides=("ocproxy")
conflicts=("ocproxy")
options=('!strip' '!emptydirs')
source_i686=("http://ftp.uk.debian.org/debian/pool/main/o/ocproxy/ocproxy_1.60-1+b2_i386.deb")
source_x86_64=("http://ftp.uk.debian.org/debian/pool/main/o/ocproxy/ocproxy_1.60-1+b2_amd64.deb")
sha256sums_i686=('64047ba7d8dc6d9f18372d5815118d6b64c00e1d80c95412581cc7b7ec41706c')
sha256sums_x86_64=('d334aa33757573a67bd37ab8eeb1630a8184ca1b0cf573f76c72c6d9b24fb515')

package(){
    # Extract package data
    tar -xJ -f data.tar.xz -C "${pkgdir}"

    install -D -m644 "${pkgdir}/usr/share/doc/ocproxy/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}