Date: Thursday, June 17, 2021 @ 20:14:30 Author: foxboron Revision: 964748
archrelease: copy trunk to community-x86_64 Added: raft/repos/community-x86_64/PKGBUILD (from rev 964747, raft/trunk/PKGBUILD) Deleted: raft/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-17 20:14:21 UTC (rev 964747) +++ PKGBUILD 2021-06-17 20:14:30 UTC (rev 964748) @@ -1,32 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Thomas Hipp <thomashipp at gmail dot com> - -pkgname=raft -pkgver=0.11.0 -pkgrel=1 -pkgdesc="C implementation of the Raft consensus protocol" -arch=('x86_64') -url="https://github.com/canonical/raft" -license=('LGPL3') -depends=('libuv') -source=("$pkgname-$pkgver.tar.gz::https://github.com/canonical/${pkgname}/archive/v${pkgver}.tar.gz") -sha256sums=('119f2987d5e41db877bc48f91251e4ce4b31b9e611322d192ea494300290afbd') - -build() { - cd "${pkgname}-${pkgver}" - autoreconf -i - ./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" - rm -rf "${pkgdir}/usr/bin" -} Copied: raft/repos/community-x86_64/PKGBUILD (from rev 964747, raft/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-17 20:14:30 UTC (rev 964748) @@ -0,0 +1,32 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Thomas Hipp <thomashipp at gmail dot com> + +pkgname=raft +pkgver=0.11.1 +pkgrel=1 +pkgdesc="C implementation of the Raft consensus protocol" +arch=('x86_64') +url="https://github.com/canonical/raft" +license=('LGPL3') +depends=('libuv') +source=("$pkgname-$pkgver.tar.gz::https://github.com/canonical/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('9a8dc27c991f365c07a82a2fad5a9a26f842900f3b1586c824442cc652005e4e') + +build() { + cd "${pkgname}-${pkgver}" + autoreconf -i + ./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" + rm -rf "${pkgdir}/usr/bin" +}