[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at archlinux.org
Wed May 31 11:00:40 UTC 2017
Date: Wednesday, May 31, 2017 @ 11:00:39
Author: arojas
Revision: 296924
New Qt dependency
Added:
double-conversion/
double-conversion/trunk/
double-conversion/trunk/PKGBUILD
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Added: double-conversion/trunk/PKGBUILD
===================================================================
--- double-conversion/trunk/PKGBUILD (rev 0)
+++ double-conversion/trunk/PKGBUILD 2017-05-31 11:00:39 UTC (rev 296924)
@@ -0,0 +1,43 @@
+# 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=2.0.1
+pkgrel=3
+pkgdesc='Binary-decimal and decimal-binary routines for IEEE doubles'
+arch=(i686 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
+ double-conversion-shared-lib.patch)
+sha1sums=('a590b4e9e1509bcf48da79a9c0571cfe218920f4'
+ '54abeec2090908c7ed229986826e8cce400edd1b')
+
+prepare() {
+ cd double-conversion-$pkgver
+ patch -p1 < ../double-conversion-shared-lib.patch
+}
+
+build() {
+ cd double-conversion-$pkgver
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
+ make
+}
+
+check() {
+ cd double-conversion-$pkgver
+ cd test
+ cmake .
+# Currently tests fail
+# make all
+}
+
+package () {
+ cd double-conversion-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/double-conversion/LICENSE
+}
More information about the arch-commits
mailing list