diff options
author | Jonne Haß | 2017-06-05 13:12:05 +0200 |
---|---|---|
committer | Jonne Haß | 2017-06-05 13:12:05 +0200 |
commit | 8d3c5c70af4ae5a7fa90508e436bcab9339a009e (patch) | |
tree | 94f259d433c38289bdafbef622892999aaf5bea6 /PKGBUILD | |
parent | 2fd391d932d353052ac04954ab1bad275b389af1 (diff) | |
download | aur-8d3c5c70af4ae5a7fa90508e436bcab9339a009e.tar.gz |
boxcars: fix build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Jonne Haß <me@mrzyx.de> pkgname=boxcars pkgver=r59.2e02b6d -pkgrel=2 +pkgrel=3 pkgdesc="Easy-to-configure Static Web & Reverse Proxy Server in Go" arch=('x86_64' 'i686') url="https://github.com/azer/boxcars" @@ -25,8 +25,9 @@ prepare() { } build() { - cd "$srcdir/$pkgname/$pkgname" - go build -o $pkgname boxcars.go + cd "$srcdir/$pkgname/$pkgname" + export GOPATH="$srcdir/go" + go build -o $pkgname boxcars.go } package() { |