# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=libbytesize pkgver=0.11 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="3275116a74ead484508da494934062e77d19b50dcd124d7b309137e52a416474099685c39ddc63090d6ed124a667c7fc8c2a7a5844712b33f277703bb52d54ec libbytesize-0.11.tar.gz"