summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d695e7ae49b1..a070d37902c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = deepin-pw-check-git
pkgdesc = deepin-pw-check is a tool to verify the validity of the password
pkgver = 5.1.17.r5.g2b1147e
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/linuxdeepin/deepin-pw-check
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index bf7382ffd686..2ca63a585c0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=deepin-pw-check-git
pkgver=5.1.17.r5.g2b1147e
-pkgrel=1
+pkgrel=2
pkgdesc='deepin-pw-check is a tool to verify the validity of the password'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/deepin-pw-check"
@@ -39,6 +39,8 @@ build() {
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ export GO111MODULE=off
make
}