diff options
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -1,26 +1,21 @@ # Maintainer: Gustavo Chain <gchain@gmail.com> pkgname=httplab -pkgver=0.1 +pkgver=0.2.1 pkgrel=2 pkgdesc="An interactive web server" -arch=(any) +arch=(x86_64) url="http://github.com/gchaincl/httplab" license=('MIT') -makedepends=('go>=1.7') +makedepends=('wget') provides=('httplab=$pkgver') conflicts=('httplab') replaces=('httplab') install= -source=("$pkgname"::'git+https://github.com/gchaincl/httplab.git') -md5sums=(SKIP) - -build() { - export GOPATH=`pwd`/.. - cd "$pkgname" - go build -} +source=("$pkgname"::'https://github.com/gchaincl/httplab/releases/download/v0.2.1/httplab_linux_amd64') +md5sums=( + '6e1051b464963eb40e89a786ef9dcce8' +) package() { - cd "$pkgname" - install -D -s -m755 httplab "${pkgdir}/usr/bin/httplab" + install -D -s -m755 "httplab" "${pkgdir}/usr/bin/${pkgname}" } |