blob: 47871f200e3789431b9521de826b031b32aac720 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: John Trengrove <john@retrofilter.com>
pkgname=dgraph-git
pkgver=20170711
pkgrel=1
pkgdesc='a low latency, high throughput, native and distributed graph database'
arch=('x86_64' 'i686')
url='https://github.com/dgraph-io/dgraph'
license=('APACHE')
conflicts=('dgraph dgraph-bin')
provides=('dgraph')
options=('!strip' '!emptydirs')
depends=('go')
build() {
GOPATH="$srcdir" go get -v github.com/dgraph-io/dgraph/cmd/...
}
package() {
cd "$srcdir"
for binary in dgraph dgraphloader postingiterator; do
install -Dm755 bin/$binary "$pkgdir/usr/bin/$binary"
done
}
# vim:set ts=2 sw=2 et:
|