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
|
pkgbase = mingw-w64-qhull
|
||||||
pkgdesc = A general dimension code for computing convex hulls and related structures (mingw-w64)
|
pkgdesc = A general dimension code for computing convex hulls and related structures (mingw-w64)
|
||||||
pkgver = 2015.2
|
pkgver = 2020.2
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://www.qhull.org/
|
url = http://www.qhull.org/
|
||||||
arch = any
|
arch = any
|
||||||
|
|
@ -12,8 +10,7 @@ pkgbase = mingw-w64-qhull
|
||||||
options = !buildflags
|
options = !buildflags
|
||||||
options = !strip
|
options = !strip
|
||||||
options = staticlibs
|
options = staticlibs
|
||||||
source = http://www.qhull.org/download/qhull-2015-src-7.2.0.tgz
|
source = http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz
|
||||||
md5sums = e6270733a826a6a7c32b796e005ec3dc
|
sha256sums = b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e
|
||||||
|
|
||||||
pkgname = mingw-w64-qhull
|
pkgname = mingw-w64-qhull
|
||||||
|
|
||||||
|
|
|
||||||
18
PKGBUILD
18
PKGBUILD
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
pkgname=mingw-w64-qhull
|
pkgname=mingw-w64-qhull
|
||||||
pkgver=2015.2
|
pkgver=2020.2
|
||||||
|
_pkgver=8.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A general dimension code for computing convex hulls and related structures (mingw-w64)"
|
pkgdesc="A general dimension code for computing convex hulls and related structures (mingw-w64)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
|
@ -9,20 +9,16 @@ license=('custom')
|
||||||
depends=('mingw-w64-crt')
|
depends=('mingw-w64-crt')
|
||||||
makedepends=('mingw-w64-cmake')
|
makedepends=('mingw-w64-cmake')
|
||||||
options=('!buildflags' '!strip' 'staticlibs')
|
options=('!buildflags' '!strip' 'staticlibs')
|
||||||
source=("http://www.qhull.org/download/qhull-2015-src-7.2.0.tgz")
|
source=(http://www.qhull.org/download/qhull-${pkgver%.*}-src-$_pkgver.tgz)
|
||||||
md5sums=('e6270733a826a6a7c32b796e005ec3dc')
|
sha256sums=('b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e')
|
||||||
|
|
||||||
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "qhull-$pkgver"
|
cd "qhull-$pkgver"
|
||||||
for _arch in ${_architectures}; do
|
for _arch in ${_architectures}; do
|
||||||
mkdir -p build-${_arch} && pushd build-${_arch}
|
${_arch}-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -B build-${_arch} .
|
||||||
${_arch}-cmake \
|
make -C build-${_arch}
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
..
|
|
||||||
make
|
|
||||||
popd
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -30,7 +26,7 @@ package() {
|
||||||
for _arch in ${_architectures}; do
|
for _arch in ${_architectures}; do
|
||||||
cd "$srcdir/qhull-${pkgver}/build-${_arch}"
|
cd "$srcdir/qhull-${pkgver}/build-${_arch}"
|
||||||
make install DESTDIR="$pkgdir"
|
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
|
rm "$pkgdir"/usr/${_arch}/bin/*.exe
|
||||||
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
|
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
|
||||||
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
|
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue