summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-05-17 01:51:42 +0300
committerAdrian Perez de Castro2019-05-17 01:51:42 +0300
commitc6ba4da0b17b81aff5bee6456daec04cd33ae68c (patch)
tree5076ee187149cd6de5fbae250453738fe9a72e33
parente3d91ff8453fdc29a2ff28c926ea6f710e9c15d0 (diff)
downloadaur-c6ba4da0b17b81aff5bee6456daec04cd33ae68c.tar.gz
Fix build failure due to location of blackfriday module
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f1f6cbdd6cdc..ebf15d6bfd46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gomuks-git
pkgdesc = A terminal based Matrix client written in Go
- pkgver = 0.r280
+ pkgver = 0.r339
pkgrel = 1
url = https://github.com/tulir/gomuks
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 768c96a944aa..3a3a1f9acfbf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgname=gomuks-git
pkgdesc='A terminal based Matrix client written in Go'
-pkgver=0.r280
+pkgver=0.r339
pkgrel=1
url='https://github.com/tulir/gomuks'
license=(GPL3)
@@ -20,6 +20,10 @@ prepare () {
# out modules; so remove those to make sure "go build" below will
# ensure that the correct version is always fetched.
sed -i -e '/^replace\s/d' go.mod
+
+ # Fix a build failure
+ go mod edit \
+ -replace=gopkg.in/russross/blackfriday.v2@v2.0.1=github.com/russross/blackfriday/v2@v2.0.1
}
pkgver () {