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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Thu Jan 18 21:02:56 UTC 2018


    Date: Thursday, January 18, 2018 @ 21:02:55
  Author: bpiotrowski
Revision: 315108

archrelease: copy trunk to staging-x86_64

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

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

Copied: libbytesize/repos/staging-x86_64/PKGBUILD (from rev 315107, libbytesize/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-01-18 21:02:55 UTC (rev 315108)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libbytesize
+pkgver=1.0
+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=('0feca102923aa05638f57f1b35593636ccc0b6cf5198eb9e8b5d805b44d270a9b3b37953ad24d445e607b09f01d64ac69e4a42e08c5f57fd46a3dea03f69c2e5')
+
+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