summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reuße2019-12-16 09:10:35 +0100
committerSebastian Reuße2019-12-16 09:15:01 +0100
commit451ab3160e744d0a76eca1ea63ff3614d40c07f0 (patch)
treee9efd4a2b71d83bd500cd325428d4e12a163b4b4
parent303d4345ee18e3791343ee7fdf6024c1aeb77ef6 (diff)
downloadaur-pixterm-git.tar.gz
build from gomodule directory
The pixterm CLI is a gomodule now.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8af4d84d2e76..0768841a8dc4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Sun Feb 12 04:55:16 UTC 2017
pkgbase = pixterm-git
pkgdesc = Draw images in your ANSI terminal with true color
- pkgver = v1.1.1.r0.g0604f32
+ pkgver = v1.3.0.r0.g9fb6cf8
pkgrel = 1
url = https://github.com/eliukblau/pixterm
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 2f095aaa0817..676453476979 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sebastian Reuße <seb@wirrsal.net>
pkgname=pixterm-git
_gitname=pixterm
-pkgver=v1.1.1.r0.g0604f32
+pkgver=v1.3.0.r0.g9fb6cf8
pkgrel=1
pkgdesc="Draw images in your ANSI terminal with true color"
arch=(x86_64 i686)
@@ -21,11 +21,8 @@ pkgver() {
}
build() {
- cd "$srcdir/$_gitname"
- export GOPATH="$srcdir/gopath"
- [ -d "$GOPATH" ] || mkdir "$srcdir"/gopath
- go get -d
- go build
+ cd "$srcdir/$_gitname/cmd/pixterm"
+ go build -o ../../pixterm
}
package() {