summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Zhong2020-03-05 11:03:35 +0800
committerAllen Zhong2020-03-05 11:03:35 +0800
commit81ec693c30f8778b6c2bcb720fa5e05bd4c1f63c (patch)
tree63efbebf409ec4548bfbab432102c2f0f9465696
parent11eaa4f63606eb83d35db3c58a2692cf6a14f5c5 (diff)
downloadaur-81ec693c30f8778b6c2bcb720fa5e05bd4c1f63c.tar.gz
fix build info flags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab27d6ac80ab..26ee4449eba9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tikv-pd
pkgdesc = Manage and schedule the TiKV cluster.
pkgver = 3.0.11
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/pingcap/pd
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 1a7ad01c7771..11d34ce402fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Allen Zhong <zhongbenli@pingcap.com>
pkgname=tikv-pd
pkgver=3.0.11
-pkgrel=1
+pkgrel=2
pkgdesc='Manage and schedule the TiKV cluster.'
makedepends=('go' 'make' 'git')
arch=('x86_64')
@@ -41,7 +41,7 @@ build() {
cd $GOPATH/src/$_gopkgname
sed -i '/shell git /d' Makefile
- _LDFLAGS="-X $_gopkgname/server.PDReleaseVersion=$pkgver -X $_gopkgname/server.PDGitBranch=release -X $_gopkgname/server.PDGitHash=v$pkgver"
+ _LDFLAGS="-X $_gopkgname/v3/server.PDReleaseVersion=$pkgver -X $_gopkgname/v3/server.PDGitBranch=release -X $_gopkgname/v3/server.PDGitHash=v$pkgver"
LDFLAGS=$_LDFLAGS make build
}