upgpkg: ocaml-topkg 1.0.5-2
[arch-packages.git] / libbytesize / repos / extra-x86_64 / PKGBUILD
bloba8f3a6acc9d2663ba3c2b6f6ef354b1eba03ddb3
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=libbytesize
4 pkgver=2.7
5 pkgrel=2
6 pkgdesc='A tiny library providing a C "class" for working with arbitrary big sizes in bytes'
7 arch=('x86_64')
8 url="https://github.com/rhinstaller/libbytesize"
9 license=('LGPL')
10 depends=('mpfr' 'pcre2')
11 makedepends=('python')
12 optdepends=('python: for bscalc command')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libbytesize/archive/$pkgver.tar.gz")
14 sha512sums=('3a63f728f937ebe002289b7d68e6dcf9b1a223a04d6fe8b5d4e341517753a8b665d0af69aaf030b69546364d5e3a5a9cdf538b614ec0714faf7f6b994f666553')
16 build() {
17   cd "$srcdir"/$pkgname-$pkgver
18   ./autogen.sh
19   ./configure --prefix=/usr
20   make
23 package() {
24   cd "$srcdir"/$pkgname-$pkgver
25   make DESTDIR="$pkgdir" install