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 /PKGBUILD | |
parent | 76266a59bff7ac36fe233e701e8ef0d86a26431d (diff) | |
download | aur-caca2b80eeae4ddc2fbbe554cb1d4b50556386aa.tar.gz |
Updated build process
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -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 } |