* update libbytesize to 2.11-1

This commit is contained in:
Alexander Baldeck 2025-02-09 11:28:13 +01:00
parent 9499232a30
commit 49bd644014
2 changed files with 16 additions and 11 deletions

View File

@ -1,19 +1,19 @@
pkgbase = libbytesize
pkgdesc = A tiny library providing a C "class" for working with arbitrary big sizes in bytes
pkgver = 2.8
pkgrel = 4
url = https://github.com/rhinstaller/libbytesize
pkgver = 2.11
pkgrel = 1
url = https://github.com/storaged-project/libbytesize
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = LGPL
checkdepends = python-polib
makedepends = python
depends = mpfr
depends = pcre2
optdepends = python-six: for bscalc command
source = libbytesize-2.8.tar.gz::https://github.com/rhinstaller/libbytesize/archive/2.8.tar.gz
sha512sums = c05c5adb0088247c91c50a9259d477f2e65b30aa8522112bb6955c7d082584e87b0167cd385c7161f2fa0c05bf9b9d870a00d5a700613db75c1d52822bca009d
source = libbytesize-2.11.tar.gz::https://github.com/rhinstaller/libbytesize/archive/2.11.tar.gz
sha512sums = 57f6515b25e22819339dccbb23b1f9863592c5d82f20decaae1178d2fc5c56f46367cf4ea2efca7e41eefd8ea33df1a1b1001e254eda6209751518a3120db9f5
pkgname = libbytesize

View File

@ -2,17 +2,17 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=libbytesize
pkgver=2.8
pkgrel=4
pkgver=2.11
pkgrel=1
pkgdesc='A tiny library providing a C "class" for working with arbitrary big sizes in bytes'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://github.com/rhinstaller/libbytesize"
url="https://github.com/storaged-project/libbytesize"
license=('LGPL')
depends=('mpfr' 'pcre2')
makedepends=('python')
optdepends=('python-six: for bscalc command')
checkdepends=('python-polib')
source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libbytesize/archive/$pkgver.tar.gz")
sha512sums=('c05c5adb0088247c91c50a9259d477f2e65b30aa8522112bb6955c7d082584e87b0167cd385c7161f2fa0c05bf9b9d870a00d5a700613db75c1d52822bca009d')
sha512sums=('57f6515b25e22819339dccbb23b1f9863592c5d82f20decaae1178d2fc5c56f46367cf4ea2efca7e41eefd8ea33df1a1b1001e254eda6209751518a3120db9f5')
build() {
cd "$srcdir"/$pkgname-$pkgver
@ -21,6 +21,11 @@ build() {
make
}
check() {
cd "$srcdir"/$pkgname-$pkgver
make check TESTS=libbytesize_unittest.sh
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install