aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libbytesize/APKBUILD
blob: 08f2002395c0d7baf05dc94f35fe6afa394d6b0c (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
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=libbytesize
pkgver=1.3
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 python3"
subpackages="$pkgname-dev $pkgname-lang"
source="https://github.com/storaged-project/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/"$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a8e5b5d59d0a97ae52a2c0f437c4d7fd8afc8249762be99027e3beeadc6c54ad52a09c1d30e66466b99496fcf3419fa799d0fcccf61c0661b3e9cff48d0054af  libbytesize-1.3.tar.gz"