[arch-commits] Commit in libbytesize/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat May 28 08:14:19 UTC 2022


    Date: Saturday, May 28, 2022 @ 08:14:19
  Author: felixonmars
Revision: 446593

archrelease: copy trunk to testing-x86_64

Added:
  libbytesize/repos/testing-x86_64/
  libbytesize/repos/testing-x86_64/PKGBUILD
    (from rev 446592, libbytesize/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: libbytesize/repos/testing-x86_64/PKGBUILD (from rev 446592, libbytesize/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-05-28 08:14:19 UTC (rev 446593)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libbytesize
+pkgver=2.7
+pkgrel=1
+pkgdesc='A tiny library providing a C "class" for working with arbitrary big sizes in bytes'
+arch=('x86_64')
+url="https://github.com/rhinstaller/libbytesize"
+license=('LGPL')
+depends=('mpfr' 'pcre2')
+makedepends=('python')
+optdepends=('python: for bscalc command')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libbytesize/archive/$pkgver.tar.gz")
+sha512sums=('3a63f728f937ebe002289b7d68e6dcf9b1a223a04d6fe8b5d4e341517753a8b665d0af69aaf030b69546364d5e3a5a9cdf538b614ec0714faf7f6b994f666553')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list