blob: 0061a92442e31ad9c9a9726d51a97dfaad9931a9 (
plain)
1 # Description: A tiny library providing a C "class" for working with arbitrary big sizes in bytes
2 # URL: https://github.com/storaged-project/libbytesize
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3 libpcre2
5
6 name=libbytesize
7 version=2.5
8 release=1
9 source=(https://github.com/storaged-project/$name/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 cd $name-$version
13 NO_CONFIGURE=1 ./autogen.sh
14 sed -i 's/==/=/g' docs/Makefile.in
15 ./configure --prefix=/usr
16 make
17 make DESTDIR=$PKG install
18
19 rm -r $PKG/usr/share/{locale,gtk-doc} || true
20 }
|