Date: Tuesday, May 26, 2020 @ 13:43:10 Author: felixonmars Revision: 387582
archrelease: copy trunk to testing-x86_64 Added: libbytesize/repos/testing-x86_64/ libbytesize/repos/testing-x86_64/PKGBUILD (from rev 387581, libbytesize/trunk/PKGBUILD) ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Copied: libbytesize/repos/testing-x86_64/PKGBUILD (from rev 387581, libbytesize/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-05-26 13:43:10 UTC (rev 387582) @@ -0,0 +1,24 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=libbytesize +pkgver=2.3 +pkgrel=1 +pkgdesc='A tiny library providing a C "class" for working with arbitrary big sizes in bytes' +arch=('x86_64') +url="https://github.com/rhinstaller/libbytesize" +license=('LGPL') +depends=('mpfr' 'pcre2' 'python') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libbytesize/archive/$pkgver.tar.gz") +sha512sums=('4a379b19adf755d77777cbf57261d28768ee415ebf15f7e152735c2008ba0704408ce7c829c42b5148a5a84beb26bc7ba17a8771db0042bba7bae43d9e2efcab') + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install +}