summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 463416f03125..c69e182bdf5c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = snapd
pkgdesc = Service and tools for management of snap packages.
pkgver = 2.44.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/snapcore/snapd
install = snapd.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index cd6a04fcd4f2..8e13a8766949 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ depends=('squashfs-tools' 'libseccomp' 'libsystemd' 'apparmor')
optdepends=('bash-completion: bash completion support'
'xdg-desktop-portal: desktop integration')
pkgver=2.44.3
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/snapcore/snapd"
license=('GPL3')
@@ -47,9 +47,8 @@ prepare() {
build() {
cd "$pkgname-$pkgver"
export GOPATH="$srcdir/go"
- # snapd does not use modules, setting GO111MODULE=on in the environment breaks
- # the build
- unset GO111MODULE
+ # snapd does not support modules yet, explicitly disable Go modules
+ export GO111MODULE=off
export CGO_ENABLED="1"
export CGO_CFLAGS="${CFLAGS}"