diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 3 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = asciigraph pkgdesc = Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies pkgver = 0.4.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/guptarohit/asciigraph arch = x86_64 license = MIT @@ -2,7 +2,7 @@ pkgname=asciigraph pkgver=0.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies" arch=('x86_64') url='https://github.com/guptarohit/asciigraph' @@ -11,15 +11,12 @@ makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/guptarohit/asciigraph/archive/v0.4.1.tar.gz") md5sums=('6efaf8b04f7f55e4863ce3127aa2308c') -prepare() { +build() { cd "${srcdir}/${pkgname}-${pkgver}" mkdir -p $srcdir/go export GOPATH="${srcdir}"/go export PATH=$PATH:$GOPATH/bin go get -d -v ./... -} - -build() { cd "${srcdir}/${pkgname}-${pkgver}/cmd/asciigraph" go build -v -o "${srcdir}/asciigraph-bin" } |