mirror of
https://github.com/archlinux/aur.git
synced 2025-12-10 08:05:42 +01:00
2020.2
This commit is contained in:
parent
d9e3509a28
commit
3755c803d6
2 changed files with 10 additions and 17 deletions
9
.SRCINFO
9
.SRCINFO
|
|
@ -1,8 +1,6 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Thu Apr 7 16:38:05 UTC 2016
|
||||
pkgbase = mingw-w64-qhull
|
||||
pkgdesc = A general dimension code for computing convex hulls and related structures (mingw-w64)
|
||||
pkgver = 2015.2
|
||||
pkgver = 2020.2
|
||||
pkgrel = 1
|
||||
url = http://www.qhull.org/
|
||||
arch = any
|
||||
|
|
@ -12,8 +10,7 @@ pkgbase = mingw-w64-qhull
|
|||
options = !buildflags
|
||||
options = !strip
|
||||
options = staticlibs
|
||||
source = http://www.qhull.org/download/qhull-2015-src-7.2.0.tgz
|
||||
md5sums = e6270733a826a6a7c32b796e005ec3dc
|
||||
source = http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz
|
||||
sha256sums = b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e
|
||||
|
||||
pkgname = mingw-w64-qhull
|
||||
|
||||
|
|
|
|||
18
PKGBUILD
18
PKGBUILD
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
pkgname=mingw-w64-qhull
|
||||
pkgver=2015.2
|
||||
pkgver=2020.2
|
||||
_pkgver=8.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="A general dimension code for computing convex hulls and related structures (mingw-w64)"
|
||||
arch=('any')
|
||||
|
|
@ -9,20 +9,16 @@ license=('custom')
|
|||
depends=('mingw-w64-crt')
|
||||
makedepends=('mingw-w64-cmake')
|
||||
options=('!buildflags' '!strip' 'staticlibs')
|
||||
source=("http://www.qhull.org/download/qhull-2015-src-7.2.0.tgz")
|
||||
md5sums=('e6270733a826a6a7c32b796e005ec3dc')
|
||||
source=(http://www.qhull.org/download/qhull-${pkgver%.*}-src-$_pkgver.tgz)
|
||||
sha256sums=('b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e')
|
||||
|
||||
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
||||
|
||||
build() {
|
||||
cd "qhull-$pkgver"
|
||||
for _arch in ${_architectures}; do
|
||||
mkdir -p build-${_arch} && pushd build-${_arch}
|
||||
${_arch}-cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
..
|
||||
make
|
||||
popd
|
||||
${_arch}-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -B build-${_arch} .
|
||||
make -C build-${_arch}
|
||||
done
|
||||
}
|
||||
|
||||
|
|
@ -30,7 +26,7 @@ package() {
|
|||
for _arch in ${_architectures}; do
|
||||
cd "$srcdir/qhull-${pkgver}/build-${_arch}"
|
||||
make install DESTDIR="$pkgdir"
|
||||
rm -r "$pkgdir"/usr/${_arch}/man "$pkgdir"/usr/${_arch}/doc
|
||||
rm -r "$pkgdir"/usr/${_arch}/share
|
||||
rm "$pkgdir"/usr/${_arch}/bin/*.exe
|
||||
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
|
||||
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue