Date: Saturday, April 9, 2022 @ 20:54:25 Author: foxboron Revision: 1183170
archrelease: copy trunk to community-staging-x86_64 Added: dqlite/repos/community-staging-x86_64/ dqlite/repos/community-staging-x86_64/PKGBUILD (from rev 1183169, dqlite/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: dqlite/repos/community-staging-x86_64/PKGBUILD (from rev 1183169, dqlite/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-09 20:54:25 UTC (rev 1183170) @@ -0,0 +1,34 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Thomas Hipp <thomashipp at gmail dot com> + +pkgname=dqlite +pkgver=1.9.1 +pkgrel=2 +pkgdesc="Distributed SQLite" +arch=('x86_64') +url="https://github.com/CanonicalLtd/dqlite" +license=('LGPL3') +depends=('libuv' 'raft' 'sqlite') +makedepends=('tcl' 'readline' 'zlib') +options=(debug strip) +source=("$pkgname-$pkgver.tar.gz::https://github.com/canonical/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('fd3a50f2bc14c0a03163bbed3bc5ca6943df144c502de5b497d3b323c24a6489') + +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" +}