summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMassimiliano Torromeo2016-12-17 12:52:16 +0100
committerMassimiliano Torromeo2016-12-17 12:52:16 +0100
commitcaca2b80eeae4ddc2fbbe554cb1d4b50556386aa (patch)
tree4a7a30ce834f790486fe4a22aeb811d0f8757508
parent76266a59bff7ac36fe233e701e8ef0d86a26431d (diff)
downloadaur-caca2b80eeae4ddc2fbbe554cb1d4b50556386aa.tar.gz
Updated build process
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD16
2 files changed, 8 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2332b61f277..c88a2873ce1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sat Dec 17 11:51:35 UTC 2016
pkgbase = tidb-git
pkgdesc = Distributed SQL database inspired by the desing of Google F1
- pkgver = 8920a55
+ pkgver = beta4.269.g3c7ac58d
pkgrel = 1
url = https://github.com/pingcap/tidb
arch = i686
@@ -8,6 +10,7 @@ pkgbase = tidb-git
license = APACHE
makedepends = go
makedepends = godep
+ makedepends = git
depends = glibc
source = git+https://github.com/pingcap/tidb.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 0a8e45f85b3..bb893cd2057 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=tidb-git
-pkgver=8920a55
+pkgver=beta4.269.g3c7ac58d
pkgrel=1
pkgdesc="Distributed SQL database inspired by the desing of Google F1"
arch=('i686' 'x86_64')
url="https://github.com/pingcap/tidb"
license=('APACHE')
depends=('glibc')
-makedepends=('go' 'godep')
+makedepends=('go' 'godep' 'git')
source=(git+https://github.com/pingcap/tidb.git)
sha256sums=('SKIP')
@@ -28,17 +28,13 @@ build() {
export GOPATH="$srcdir"
export PATH="$PATH:$GOPATH/bin"
cd src/github.com/pingcap/tidb
-
- make parser
- go get -v
- make build
+ LDFLAGS= make
}
check() {
export GOPATH="$srcdir"
export PATH="$PATH:$GOPATH/bin"
cd src/github.com/pingcap/tidb
-
make test
}
@@ -46,9 +42,5 @@ package() {
export GOPATH="$srcdir"
export PATH="$PATH:$GOPATH/bin"
cd src/github.com/pingcap/tidb
-
- make install
-
- cd "$GOPATH"/bin
- install -Dm755 interpreter "$pkgdir"/usr/bin/tidb
+ install -Dm755 bin/tidb-server "$pkgdir"/usr/bin/tidb-server
}