summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoreaglexiang2018-08-02 01:04:49 +0800
committereaglexiang2018-08-02 01:05:48 +0800
commit27e04feb584fa9615490768a7526b877254a4f9f (patch)
tree48a12d97b626034b4b4fe22e6c10fba640a33456 /PKGBUILD
parenteded2156c229c72fa11b103d4fde47f3f40c8425 (diff)
downloadaur-eagle-tunnel.tar.gz
fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dc8e8f919f2..5c4b1a03603 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,15 +10,21 @@ 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'
-build() {
-cd "$srcdir/$_pkgname"
-git checkout dev
+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 "$srcdir/$_pkgname"
-sudo ./install.sh
+cd eagle.tunnel.dotnet.core
+./install.sh ${pkgdir}
}