[arch-commits] Commit in double-conversion/repos (2 files)

Antonio Rojas arojas at archlinux.org
Fri Mar 8 18:36:37 UTC 2019


    Date: Friday, March 8, 2019 @ 18:36:35
  Author: arojas
Revision: 347454

archrelease: copy trunk to staging-x86_64

Added:
  double-conversion/repos/staging-x86_64/
  double-conversion/repos/staging-x86_64/PKGBUILD
    (from rev 347453, double-conversion/trunk/PKGBUILD)

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

Copied: double-conversion/repos/staging-x86_64/PKGBUILD (from rev 347453, double-conversion/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-03-08 18:36:35 UTC (rev 347454)
@@ -0,0 +1,34 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Joel Teichroeb <joel at teichroeb.net>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+
+pkgname=double-conversion
+pkgver=3.1.3
+pkgrel=1
+pkgdesc='Binary-decimal and decimal-binary routines for IEEE doubles'
+arch=(x86_64)
+url='https://github.com/google/double-conversion'
+license=(BSD)
+depends=(gcc-libs)
+makedepends=(cmake)
+source=(double-conversion-$pkgver.tar.gz::https://github.com/google/double-conversion/archive/v$pkgver.tar.gz)
+sha256sums=('63a75815708c76a51abfd1433fba76a02768f2c2ef558ef262bc99d9eed686e0')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DBUILD_SHARED_LIBS=ON
+  make
+}
+
+package () {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/double-conversion
+}


More information about the arch-commits mailing list