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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:27:14 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:27:14
  Author: felixonmars
Revision: 386309

archrelease: copy trunk to staging-x86_64

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

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

Copied: double-conversion/repos/staging-x86_64/PKGBUILD (from rev 386308, double-conversion/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:27:14 UTC (rev 386309)
@@ -0,0 +1,35 @@
+# 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.5
+pkgrel=2
+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=('a63ecb93182134ba4293fd5f22d6e08ca417caafa244afaa751cbfddf6415b13')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_INSTALL_LIBDIR=lib \
+      -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