summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoreaglexiang2018-08-01 00:12:07 +0800
committereaglexiang2018-08-01 00:12:07 +0800
commiteded2156c229c72fa11b103d4fde47f3f40c8425 (patch)
tree26d951664f0b664d9504d84cd34a6a8d43fe4961 /PKGBUILD
parent07c7836e93be158e296d2ad8d8b42f87fc706c1c (diff)
downloadaur-eded2156c229c72fa11b103d4fde47f3f40c8425.tar.gz
fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3811383e59d..dc8e8f919f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,25 +6,19 @@ url="https://github.com/eaglexiang/eagle.tunnel.dotnet.core"
arch=('any')
license=('MIT')
depends=('dotnet-runtime')
-makedepends=('dotnet-sdk')
-conflicts=()
-replaces=()
+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')
-prepare() {
-git clone --recursive https://github.com/eaglexiang/eagle.tunnel.dotnet.core.git
-cd eagle.tunnel.dotnet.core
+build() {
+cd "$srcdir/$_pkgname"
git checkout dev
-git pull
git submodule update
-}
-
-build() {
-cd eagle.tunnel.dotnet.core
./build.sh
}
package() {
-cd eagle.tunnel.dotnet.core
+cd "$srcdir/$_pkgname"
sudo ./install.sh
}