diff options
author | Massimiliano Torromeo | 2016-12-17 12:52:16 +0100 |
---|---|---|
committer | Massimiliano Torromeo | 2016-12-17 12:52:16 +0100 |
commit | caca2b80eeae4ddc2fbbe554cb1d4b50556386aa (patch) | |
tree | 4a7a30ce834f790486fe4a22aeb811d0f8757508 | |
parent | 76266a59bff7ac36fe233e701e8ef0d86a26431d (diff) | |
download | aur-caca2b80eeae4ddc2fbbe554cb1d4b50556386aa.tar.gz |
Updated build process
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 8 insertions, 13 deletions
@@ -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 @@ -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 } |