# Maintainer: Morten Linderud # Contributor: Thomas Hipp pkgname=dqlite pkgver=1.14.0 pkgrel=1 pkgdesc="Distributed SQLite" arch=('x86_64') url="https://github.com/CanonicalLtd/dqlite" license=('LGPL3') depends=('libuv' 'raft' 'sqlite') makedepends=('tcl' 'readline' 'zlib') options=(strip) source=("$pkgname-$pkgver.tar.gz::https://github.com/canonical/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('6060194096efb245410073e3c47e045f7c790f75cca4e188494f54971cc85315') build() { cd "$pkgname-$pkgver" autoreconf -i #PKG_CONFIG_PATH="/usr/lib/sqlite-replication/pkgconfig" ./configure --prefix=/usr ./configure --prefix=/usr make } check() { cd "$pkgname-$pkgver" make check || true } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }