summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c07ead8fbb6c7e5306a68bf3627649c768415db9 (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
# Maintainer:  EnityBlackHawk <entityblackhawk@gmail.com>
pkgname=devtunnel-cli-git
pkgver=e5b20b7
pkgrel=1
epoch=
pkgdesc="Microsoft's Dev tunnel - CLI"
arch=('x86_64')
url="https://github.com/EnityBlackHawk/devtunnel-cli.git"
license=('MIT')
depends=('libsecret' 'glibc' 'zlib' 'gcc-libs')
makedepends=('git')
source=('git+https://github.com/EnityBlackHawk/devtunnel-cli.git')
md5sums=('SKIP')

pkver(){
	cd "devtunnel-cli"
	git rev-parse --short HEAD
}


build() {
	cd "devtunnel-cli"
	./devtunnel.sh
}

package() {
	cd "devtunnel-cli"
	sudo install ~/bin/devtunnel /usr/local/bin
	rm ~/bin/devtunnel
}