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

Felix Yan felixonmars at archlinux.org
Sat Jun 30 16:56:48 UTC 2018


    Date: Saturday, June 30, 2018 @ 16:56:47
  Author: felixonmars
Revision: 327860

archrelease: copy trunk to staging-x86_64

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

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

Copied: libbytesize/repos/staging-x86_64/PKGBUILD (from rev 327859, libbytesize/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-06-30 16:56:47 UTC (rev 327860)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libbytesize
+pkgver=1.3
+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' 'pcre')
+makedepends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libbytesize/archive/$pkgver.tar.gz")
+sha512sums=('a50f5d4ea07a295909e09168518f8fc25da8dcd52859beca9c9c3b8c8c180b025c774c730d449ffbd4c7fd5aba07b5d071b6d9ad36f9d9ebc96bb06699aa08f3')
+
+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