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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 16:17:20 UTC 2019


    Date: Friday, October 25, 2019 @ 16:17:20
  Author: foutrelis
Revision: 365677

archrelease: copy trunk to staging-x86_64

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

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

Copied: libbytesize/repos/staging-x86_64/PKGBUILD (from rev 365676, libbytesize/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-10-25 16:17:20 UTC (rev 365677)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libbytesize
+pkgver=2.1
+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' 'python')
+makedepends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libbytesize/archive/$pkgver.tar.gz")
+sha512sums=('97070c38da797e65618ee788ba498da85ecd2df7b244fae8d170cefddd456567840a056e23e0dab335450f958735dc0d9e6663f7ced8b78c35d2bf30a8f5f18f')
+
+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