summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c4b1a036038e6cb841d40086cf8940f47a0e991 (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
pkgname=eagle-tunnel
pkgver=1.11.2
pkgrel=1
pkgdesc="Eagle Tunnel is a proxy application support both http(s) and socks5"
url="https://github.com/eaglexiang/eagle.tunnel.dotnet.core"
arch=('any')
license=('MIT')
depends=('dotnet-runtime')
makedepends=('git' 'dotnet-sdk')
source=('git+https://github.com/eaglexiang/eagle.tunnel.dotnet.core.git')
sha256sums=('SKIP')
backup=('etc/eagle-tunnel.conf' 'etc/eagle-tunnel-smart.conf')
install='eagle-tunnel.install'

prepare() {
cd eagle.tunnel.dotnet.core
git checkout -b dev origin/dev
git submodule init
git submodule update
}

build() {
cd eagle.tunnel.dotnet.core
./build.sh
}

package() {
cd eagle.tunnel.dotnet.core
./install.sh ${pkgdir}
}