diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 10 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = deepin-api-git pkgdesc = Golang bindings for dde-daemon - pkgver = 5.3.0.14.r12.g7b3e01d + pkgver = 5.4.2.r0.g7b3e01d pkgrel = 1 url = https://github.com/linuxdeepin/dde-api install = deepin-api.install @@ -1,7 +1,7 @@ # Maintainer: justforlxz <justforlxz@gmail.com> pkgname=deepin-api-git -pkgver=5.3.0.14.r12.g7b3e01d +pkgver=5.4.2.r0.g7b3e01d pkgrel=1 pkgdesc='Golang bindings for dde-daemon' arch=('x86_64') @@ -34,12 +34,17 @@ pkgver() { prepare() { cd $srcdir export GOPATH="$srcdir/build:/usr/share/gocode" + export GO111MODULE=off mkdir -p build/src/pkg.deepin.io/dde/api cp -a $pkgname/* build/src/pkg.deepin.io/dde/api/ # golang-deepin-lib's dependency, remove when go packaging resumes - go get github.com/cryptix/wav - go get github.com/disintegration/imaging github.com/fogleman/gg github.com/mattn/go-sqlite3 github.com/gosexy/gettext github.com/rickb777/date + go get -v github.com/cryptix/wav + go get -v github.com/disintegration/imaging + go get -v github.com/fogleman/gg + go get -v github.com/mattn/go-sqlite3 + go get -v github.com/gosexy/gettext + go get -v github.com/rickb777/date go get -v github.com/fsnotify/fsnotify go get -v github.com/godbus/dbus/ go get -v github.com/godbus/dbus/introspect @@ -50,7 +55,7 @@ prepare() { build(){ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - + export GO111MODULE=off cd $pkgname make } |