summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5eeeb45e9f71631339604d7d074c068b42691482 (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
# Maintainer: Felix Fung <fylixeoi@gmail.com>

pkgname=timescaledb
pkgver=2.1.0
pkgrel=0
pkgdesc="An open-source time-series database optimized for fast ingest and complex queries."
arch=('i686' 'x86_64')
url="https://www.timescale.com/"
license=('Apache')
depends=('postgresql' 'postgresql-libs')
makedepends=('gcc' 'cmake>=3.4' 'git')
install=${pkgname}.install
source=("$pkgname-$pkgver::git+https://github.com/timescale/timescaledb.git#tag=$pkgver")
md5sums=(SKIP)

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./bootstrap -DWARNINGS_AS_ERRORS=OFF -DREGRESS_CHECKS=OFF
    cd build && make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}/build"
    make DESTDIR="$pkgdir/" install
}