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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 20:25:20 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:25:19
  Author: foutrelis
Revision: 429744

archrelease: copy trunk to staging-x86_64

Added:
  libbytesize/repos/staging-x86_64/
  libbytesize/repos/staging-x86_64/PKGBUILD
    (from rev 429743, libbytesize/trunk/PKGBUILD)

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

Copied: libbytesize/repos/staging-x86_64/PKGBUILD (from rev 429743, libbytesize/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-30 20:25:19 UTC (rev 429744)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libbytesize
+pkgver=2.6
+pkgrel=2
+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=('16bbdebc4696700674b0d6f30322ebf0c7e123294ac91de67c1384e897b988c5d16aacffbab32ee5035c6f7b1cefbb55af91bb439c6948ef4f468d93f5ce95c8')
+
+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