blob: fba6a7e4e1171313a5360686a62055a1a288bd02 (
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
27
|
# Maintainer: Pedram Navid <pedram@pedramnavid.com>
pkgname=materialize
pkgver=0.26.4
pkgrel=1
pkgdesc="A streaming database for real-time applications."
arch=('x86_64')
url="https://materialize.com"
license=('custom')
groups=()
depends=()
makedepends=('git' 'rust>=1.6.0' 'gcc-libs') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("git+https://github.com/MaterializeInc/materialize.git#commit=v${pkgver}")
md5sums=('SKIP')
build() {
cd "$srcdir/${pkgname}"
cargo build --release --bin materialized
}
package() {
cd "$srcdir/${pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm0755 "$srcdir/${pkgname}/target/release/materialized" "${pkgdir}/usr/bin/materialized"
}
|