Date: Sunday, September 9, 2018 @ 16:45:55 Author: arojas Revision: 334290
Update to 3.1.0 Modified: double-conversion/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-09-09 13:08:50 UTC (rev 334289) +++ PKGBUILD 2018-09-09 16:45:55 UTC (rev 334290) @@ -3,7 +3,7 @@ # Contributor: Jonas Heinrich <o...@project-insanity.org> pkgname=double-conversion -pkgver=3.0.0 +pkgver=3.1.0 pkgrel=1 pkgdesc='Binary-decimal and decimal-binary routines for IEEE doubles' arch=(x86_64) @@ -11,30 +11,24 @@ 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') +source=(double-conversion-$pkgver.tar.gz::https://github.com/google/double-conversion/archive/$pkgver.tar.gz) +sha256sums=('aef5f528dab826b269b54766a4c2d179e361866c75717af529f91c56b4034665') +prepare() { + mkdir -p build +} + build() { - cd double-conversion-$pkgver - cmake . \ + cd build + cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=ON \ - -DCMAKE_INSTALL_LIBDIR=lib + -DBUILD_SHARED_LIBS=ON make } -check() { - cd double-conversion-$pkgver - cd test - cmake . -# Currently tests fail -# make all -} - package () { - cd double-conversion-$pkgver + cd build make DESTDIR="$pkgdir" install - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/double-conversion/LICENSE + install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/double-conversion }