# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=libbytesize pkgver=0.10 pkgrel=0 pkgdesc="A tiny library providing a C 'class' for working with arbitrary big sizes in bytes" url="https://github.com/rhinstaller/libbytesize" arch="all" license="LGPL" makedepends="pcre-dev mpfr-dev gmp-dev gettext-dev bash libtool automake autoconf python3" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/"$pkgname-$pkgver build() { cd "$builddir" ./autogen.sh ./configure --prefix=/usr make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="26dcca781c70b5fdc0c0ef973ce65db2c4ce4520bb413b2e0137e3c8a0ccef0b0b47f46e50e13035fb74c3bd2a16ab8faad8c4fb843f33419a5e5d70dae73587 libbytesize-0.10.tar.gz"