diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-03-06 21:52:57 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-03-06 21:52:57 (GMT) |
commit | aba7e873ce36bf7d9ed0303b34eb0801ce706dc3 (patch) | |
tree | ae0c19bd3d01cdd2986572383e221bf033dc6038 /abs/extra/double-conversion/PKGBUILD | |
parent | ef2cdbe419d8e329fd58f7245c737477c3db300a (diff) | |
download | linhes_pkgbuild-aba7e873ce36bf7d9ed0303b34eb0801ce706dc3.zip linhes_pkgbuild-aba7e873ce36bf7d9ed0303b34eb0801ce706dc3.tar.gz linhes_pkgbuild-aba7e873ce36bf7d9ed0303b34eb0801ce706dc3.tar.bz2 |
double-conversion: dep of qt
Diffstat (limited to 'abs/extra/double-conversion/PKGBUILD')
-rw-r--r-- | abs/extra/double-conversion/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra/double-conversion/PKGBUILD b/abs/extra/double-conversion/PKGBUILD new file mode 100644 index 0000000..1518fb3 --- /dev/null +++ b/abs/extra/double-conversion/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Joel Teichroeb <joel@teichroeb.net> +# Contributor: Jonas Heinrich <onny@project-insanity.org> + +pkgname=double-conversion +pkgver=3.0.0 +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=('152f15355242b6b1fbb4098fcd825bf08527eda0c65e8446939222a13f0b3915') + +build() { + cd double-conversion-$pkgver + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_INSTALL_LIBDIR=lib + 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 +} |