* update qhull to 2020.2-5
This commit is contained in:
parent
52c64489c2
commit
d77bb2c40f
@ -8,19 +8,22 @@
|
||||
pkgname=qhull
|
||||
pkgver=2020.2
|
||||
_pkgver=8.0.2
|
||||
pkgrel=4
|
||||
pkgdesc="A general dimension code for computing convex hulls and related structures"
|
||||
pkgrel=5
|
||||
pkgdesc='A general dimension code for computing convex hulls and related structures'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url="http://www.qhull.org/"
|
||||
license=(custom)
|
||||
url='http://www.qhull.org/'
|
||||
license=(LicenseRef-qhull)
|
||||
depends=(glibc)
|
||||
makedepends=(cmake)
|
||||
source=("http://www.qhull.org/download/qhull-${pkgver%.*}-src-$_pkgver.tgz")
|
||||
source=(http://www.qhull.org/download/qhull-${pkgver%.*}-src-$_pkgver.tgz)
|
||||
sha256sums=('b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects" \
|
||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
cmake --build build
|
||||
cmake --build build --target libqhull # deprecated, needed by octave
|
||||
}
|
||||
@ -30,5 +33,5 @@ package() {
|
||||
cp -P build/libqhull.so* "$pkgdir"/usr/lib/
|
||||
|
||||
# Install license
|
||||
install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING.txt -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user