summaryrefslogtreecommitdiff
path: root/user/libbytesize/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libbytesize/APKBUILD')
-rw-r--r--user/libbytesize/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/user/libbytesize/APKBUILD b/user/libbytesize/APKBUILD
index 4c80ef88a..cb97a469d 100644
--- a/user/libbytesize/APKBUILD
+++ b/user/libbytesize/APKBUILD
@@ -1,20 +1,20 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libbytesize
-pkgver=1.4
+pkgver=2.3
pkgrel=0
pkgdesc="Library for working with sizes in bytes"
url="https://github.com/storaged-project/libbytesize/"
arch="all"
options="!check" # Requires locale(1).
license="LGPL-2.1+"
-makedepends="gmp-dev mpfr-dev pcre-dev python3"
-subpackages="$pkgname-dev $pkgname-lang py3-bytesize:py:noarch"
+depends=""
+makedepends="gmp-dev mpfr-dev pcre2-dev python3"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py3-bytesize:py:noarch"
source="https://github.com/storaged-project/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
no-msgcat.patch"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -23,19 +23,14 @@ build() {
--mandir=/usr/share/man \
--localstatedir=/var \
--without-python2
- # XXX We do not have a msgfilter app in gettext-tiny.
- # This would be required to ship a Serbian translation.
- rm po/sr*
make
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
@@ -46,5 +41,5 @@ py() {
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
-sha512sums="54aba1f605ad662ff525c47206e8342e727c807692225361f1fa8d6a66c00f2740fc3d3672978eec2806227d85f146034042a9808e458d8d6271a08934032959 libbytesize-1.4.tar.gz
+sha512sums="23720b90f4dbf7880a640ec04e910c4c1f34637dd3621900772187cb2e1d04ec34d4900ce3c9b4083ac462b411d5a409a644f62ed76b2c57ef1f11432c58be8a libbytesize-2.3.tar.gz
5f8b46c257553672b7c2501bae99ff44594b91bfcf3f1ee209a390a8cdda693616e8207a99cea2e1263093324807a307dac9e643d1482e14f9ba604f51a05d6d no-msgcat.patch"