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

Felix Yan felixonmars at archlinux.org
Sun May 5 21:10:25 UTC 2019


    Date: Sunday, May 5, 2019 @ 21:10:24
  Author: felixonmars
Revision: 352559

archrelease: copy trunk to testing-x86_64

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

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

Copied: libbytesize/repos/testing-x86_64/PKGBUILD (from rev 352558, libbytesize/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-05-05 21:10:24 UTC (rev 352559)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libbytesize
+pkgver=2.0
+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' 'pcre')
+makedepends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libbytesize/archive/$pkgver.tar.gz")
+sha512sums=('5adc7f529bebab2a568b623f876c9b65e58cd1f19dcfb2cc0c068b03a4e0cbe6a527c9cef3417e442b5eb8c00c963f325090356474c69083793a55edb54a7001')
+
+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