summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Hendry2021-01-15 17:02:18 +0800
committerKai Hendry2021-01-15 17:02:18 +0800
commit107e6ce4db151639e91848c4f6c8ebb54d6a493c (patch)
tree7530f472e1e1f0cc5b585d548ac9b3939fd98aec
parent44d9f77a3286534febbd82c40f90ef08bbe4f013 (diff)
downloadaur-107e6ce4db151639e91848c4f6c8ebb54d6a493c.tar.gz
go mod vendor instead of GOPATH
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7505f092690..d47de87485e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = goredo
pkgdesc = Go implementation of djb's redo, a Makefile replacement that sucks less
- pkgver = 0.12.0
+ pkgver = 0.12.3
pkgrel = 1
url = http://www.goredo.cypherpunks.ru/
arch = x86_64
@@ -9,11 +9,11 @@ pkgbase = goredo
license = GPL3
makedepends = git
makedepends = go>=1.14
- source = http://www.goredo.cypherpunks.ru//download/goredo-0.12.0.tar.zst.sig
- source = http://www.goredo.cypherpunks.ru//download/goredo-0.12.0.tar.zst
+ source = http://www.goredo.cypherpunks.ru//download/goredo-0.12.3.tar.zst.sig
+ source = http://www.goredo.cypherpunks.ru//download/goredo-0.12.3.tar.zst
validpgpkeys = 7531BB84FAF0BF35960C63B93A528DDE952C7E93
sha256sums = SKIP
- sha256sums = 967787d9dbc72d747d17748db458b6d98fc75c37afaf3579ffd52b917bcce59f
+ sha256sums = d735a27312504914ec4413abc6719c52800d5aa5defb135e871396299b2c720f
pkgname = goredo
diff --git a/PKGBUILD b/PKGBUILD
index 09414124c3c..db4766d3b8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# http://www.goredo.cypherpunks.ru/Install.html
pkgname=goredo
-pkgver=0.12.0
+pkgver=0.12.3
pkgrel=1
pkgdesc="Go implementation of djb's redo, a Makefile replacement that sucks less"
url=http://www.goredo.cypherpunks.ru/
@@ -15,12 +15,11 @@ validpgpkeys=('7531BB84FAF0BF35960C63B93A528DDE952C7E93')
source=("${url}/download/${pkgname}-${pkgver}.tar.zst.sig"
"${url}/download/${pkgname}-${pkgver}.tar.zst")
sha256sums=('SKIP'
- '967787d9dbc72d747d17748db458b6d98fc75c37afaf3579ffd52b917bcce59f')
+ 'd735a27312504914ec4413abc6719c52800d5aa5defb135e871396299b2c720f')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export GOPATH=`pwd`
- go build -o "dist/${pkgname}" go.cypherpunks.ru/goredo
+ cd "${srcdir}/${pkgname}-${pkgver}/src"
+ go build -mod=vendor -o "../dist/${pkgname}"
}
package() {