cockroachdb-bin/PKGBUILD
2017-08-10 19:20:21 -04:00

20 lines
650 B
Bash

# Maintainer: Marcel O'Neil <marcel@marceloneil.com>
pkgname=cockroachdb-bin
conflicts=('cockroachdb')
provides=('cockroachdb')
pkgver=1.1_alpha.20170810
_pkgver="v${pkgver}"
pkgrel=1
pkgdesc="An open source, survivable, strongly consistent, scale-out SQL database"
arch=('x86_64')
url="https://www.cockroachlabs.com/"
license=('Apache')
depends=('gcc-libs')
source=("https://binaries.cockroachdb.com/cockroach-${_pkgver//_/-}.linux-amd64.tgz")
sha256sums=('669b2bf8dcf3823f36cf427280eec3902db48e1b3848937c9126d59d2eaa2cb6')
package() {
cd $srcdir/cockroach-${_pkgver//_/-}.linux-amd64/
install -Dm755 cockroach "${pkgdir}/usr/bin/cockroach"
}