blob: da43459062416bf87692107a5abccf28b22d3c8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=libbytesize
pkgver=1.0
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="0feca102923aa05638f57f1b35593636ccc0b6cf5198eb9e8b5d805b44d270a9b3b37953ad24d445e607b09f01d64ac69e4a42e08c5f57fd46a3dea03f69c2e5 libbytesize-1.0.tar.gz"
|