blob: e4b08e7ce590cb4576dacbac39673e4e4e5b272b (
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: luka null <lukadevnull@vivaldi.net>
pkgname=pg_clickhouse
pkgver=0.10.0
pkgrel=1
pkgdesc='PostgreSQL extension to query ClickHouse databases from PostgreSQL'
arch=('x86_64')
url='https://github.com/ClickHouse/pg_clickhouse'
license=('Apache-2.0')
depends=('postgresql' 'curl' 'util-linux-libs')
makedepends=('git' 'make' 'cmake' 'gcc' 'openssl')
source=("$pkgname::git+$url.git#tag=v$pkgver")
sha256sums=('SKIP')
prepare() {
cd "$pkgname"
git submodule update --init --recursive
}
build() {
cd "$pkgname"
make WCLOBBERED=-Wno-error=clobbered
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
}
|