testing/libbytesize: clarify license, improve abuild

This commit is contained in:
prspkt 2018-04-25 08:37:52 +00:00 committed by Andy Postnikov
parent baee05d0e3
commit 543d925721

View File

@ -3,14 +3,13 @@
pkgname=libbytesize
pkgver=1.3
pkgrel=0
pkgdesc="A tiny library providing a C 'class' for working with arbitrary big sizes in bytes"
pkgdesc="Library 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"
license="LGPL-2.1-or-later"
makedepends="gettext-dev gmp-dev mpfr-dev pcre-dev python3"
subpackages="$pkgname-dev $pkgname-lang py-$pkgname:py"
source="https://github.com/storaged-project/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/"$pkgname-$pkgver
source="https://github.com/storaged-project/libbytesize/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
build() {
cd "$builddir"
@ -25,7 +24,7 @@ package() {
py() {
pkgdesc="Python bindings for $pkgname"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}