diff options
author | J0WI <J0WI@users.noreply.github.com> | 2020-02-01 20:30:40 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-01 23:39:32 +0100 |
commit | 443c292492a1c6084e7435f2a60be02915f531e9 (patch) | |
tree | 0f3c031dcc9ff5677842ee4463ba08bb500775ea /community | |
parent | cc6e01ffac151a34e4d0f768559d19e6746adb9d (diff) | |
download | aports-443c292492a1c6084e7435f2a60be02915f531e9.tar.bz2 aports-443c292492a1c6084e7435f2a60be02915f531e9.tar.xz |
community/openspecfun: rebuild against mpfr4
Diffstat (limited to 'community')
-rw-r--r-- | community/openspecfun/APKBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/community/openspecfun/APKBUILD b/community/openspecfun/APKBUILD index 6883d1f82e..dbf6bc6250 100644 --- a/community/openspecfun/APKBUILD +++ b/community/openspecfun/APKBUILD @@ -2,30 +2,25 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=openspecfun pkgver=0.5.3 -pkgrel=2 +pkgrel=3 pkgdesc="A collection of special mathematical functions." url="https://github.com/JuliaLang/openspecfun" arch="all !s390x" license="MIT Public-Domain" -depends="" makedepends="openlibm-dev gfortran" +options="!check" # no tests subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/$pkgname/archive/v$pkgver.tar.gz +source="$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/openspecfun/archive/v$pkgver.tar.gz openspecfun.pc " -builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" - - make USE_OPENLIBM=1 prefix=/usr || return 1 + make USE_OPENLIBM=1 prefix=/usr sed "s/@VERSION@/$pkgver/" "$srcdir"/$pkgname.pc > $pkgname.pc } package() { - cd "$builddir" - - make DESTDIR="$pkgdir" prefix=/usr install || return 1 + make DESTDIR="$pkgdir" prefix=/usr install install -D $pkgname.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc } |