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

Felix Yan felixonmars at archlinux.org
Sat Feb 17 03:38:35 UTC 2018


    Date: Saturday, February 17, 2018 @ 03:38:35
  Author: felixonmars
Revision: 317197

archrelease: copy trunk to testing-x86_64

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

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

Copied: libbytesize/repos/testing-x86_64/PKGBUILD (from rev 317196, libbytesize/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-02-17 03:38:35 UTC (rev 317197)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libbytesize
+pkgver=1.1
+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=('3d376dd0f9a10974f2392e3417e8e99ac57313be3ec945eeb7c84f72ddd51a5f29b61c7268c8c870dbe941eebf8d9027f8f5b7e0140790510bd8fb6b2c8db35b')
+
+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