Date: Thursday, February 13, 2020 @ 16:16:00
  Author: felixonmars
Revision: 375536

archrelease: copy trunk to testing-x86_64

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

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

Copied: libbytesize/repos/testing-x86_64/PKGBUILD (from rev 375535, 
libbytesize/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2020-02-13 16:16:00 UTC (rev 375536)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=libbytesize
+pkgver=2.2
+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' 'pcre2' 'python')
+makedepends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libbytesize/archive/$pkgver.tar.gz";)
+sha512sums=('dba1d6f6e898c9ef851169b95b4c3bb52680c3fd5507b6024cc9b36e0cec47de6a6b3f7c5c11c1a943e6906119ceac435c44b4edee8e2221800c0b5330e542fe')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to