summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTony Lambiris2019-02-27 20:53:52 -0500
committerTony Lambiris2019-02-27 20:53:52 -0500
commit7dce015e931d7740c9ec6022e59e98f38adcca98 (patch)
tree2e6d1ab31aa0bdb6d76363e7c0cf54698bf5e664 /PKGBUILD
parentcdd515b3e401d2301ec720cd00db3a183cd9b298 (diff)
downloadaur-gogololcat-git.tar.gz
Version bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9da037e2505..9932e0fc792 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Tony Lambiris <tony@criticalstack.com>
pkgname=gogololcat-git
-pkgver=3.236b66e
-pkgrel=1
+pkgver=r3.236b66e
+pkgrel=2
pkgdesc="golang implementation of lolcat"
url="https://github.com/vbatts/gogololcat/"
arch=('x86_64' 'i686')
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
- echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
@@ -27,7 +27,7 @@ prepare() {
cd "${srcdir}/go/src/github.com/vbatts/gogololcat"
- export GOROOT="/usr/lib/go" GOPATH="${srcdir}/go"
+ export GOPATH="${srcdir}/go"
go get -v ./...
}
@@ -36,7 +36,7 @@ build() {
mkdir -p build
- export GOROOT="/usr/lib/go" GOPATH="${srcdir}/go"
+ export GOPATH="${srcdir}/go"
go build -ldflags "-s -w" \
-gcflags="all=-trimpath=${GOPATH}/src" \
-asmflags="all=-trimpath=${GOPATH}/src" \