summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bd99b771fba
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = eagle-tunnel
+ pkgdesc = Eagle Tunnel is a proxy application support both http(s) and socks5
+ pkgver = 1.11.2
+ pkgrel = 1
+ url = https://github.com/eaglexiang/eagle.tunnel.dotnet.core
+ arch = any
+ license = MIT
+ makedepends = dotnet-sdk
+ depends = dotnet-runtime
+ backup = etc/eagle-tunnel.conf
+ backup = etc/eagle-tunnel-smart.conf
+
+pkgname = eagle-tunnel
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1809e869f83
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+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=('dotnet-sdk')
+conflicts=()
+replaces=()
+backup=('etc/eagle-tunnel.conf' 'etc/eagle-tunnel-smart.conf')
+
+prepare() {
+git clone --recursive https://github.com/eaglexiang/eagle.tunnel.dotnet.core.git
+cd eagle.tunnel.dotnet.core
+git checkout dev
+git pull
+git submodule update
+}
+
+build() {
+./build.sh
+}
+
+package() {
+./install.sh
+}