diff options
author | Maciek Borzecki | 2020-04-26 20:12:12 +0200 |
---|---|---|
committer | Maciek Borzecki | 2020-04-26 20:12:12 +0200 |
commit | 39fd5272cad805a4e0961cd02b596fc14fbd99fe (patch) | |
tree | 2d82fb45c7c84efa21bd5ffcf5753675ae94a377 | |
parent | 6d1d7dd836f788038c4d0395529a72ba21a4f2b7 (diff) | |
download | aur-39fd5272cad805a4e0961cd02b596fc14fbd99fe.tar.gz |
upgpkg: snapd 2.44.3-2
Snapd does not use modules, due to upstream supporting very old Go
releases (back to 1.9). Explicitly disable Go modules support during the build.
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -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 @@ -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}" |