[ignition-math] updpkg 6.5.0

This commit is contained in:
acxz 2020-09-08 16:00:40 -04:00
parent 72d42b987d
commit 1c13ffe7ee
2 changed files with 8 additions and 22 deletions

View file

@ -1,7 +1,7 @@
pkgbase = ignition-math pkgbase = ignition-math
pkgdesc = Math classes and functions for robot applications pkgdesc = Math classes and functions for robot applications
pkgver = 6.4.0 pkgver = 6.5.0
pkgrel = 6 pkgrel = 1
url = https://ignitionrobotics.org/libs/math url = https://ignitionrobotics.org/libs/math
arch = i686 arch = i686
arch = x86_64 arch = x86_64
@ -10,10 +10,8 @@ pkgbase = ignition-math
makedepends = ignition-cmake>=2 makedepends = ignition-cmake>=2
depends = gcc-libs depends = gcc-libs
optdepends = eigen optdepends = eigen
source = ignition-math-6.4.0.tar.gz::https://github.com/ignitionrobotics/ign-math/archive/ignition-math6_6.4.0.tar.gz source = ignition-math-6.5.0.tar.gz::https://github.com/ignitionrobotics/ign-math/archive/ignition-math6_6.5.0.tar.gz
source = headerfix.patch::https://github.com/ignitionrobotics/ign-math/commit/fdbd226d70885e85e265d7c61cfa9014bee1a33a.patch sha256sums = 3b36d22e9191aa8550869bb1384a2c6bd26a5a3356ca0f200653974ac2762b88
sha256sums = 2961b295c61c7536a10b4e87c1fb812d111ee923e1c83bb6a42dede7d76373c5
sha256sums = ab61c420bfab53fac3e7770f322d2249c9a6058488f45069d0f8d52affdd7236
pkgname = ignition-math pkgname = ignition-math

View file

@ -2,8 +2,8 @@
# Contributor: Mykola Dolhyi <0xb000@gmail.com> # Contributor: Mykola Dolhyi <0xb000@gmail.com>
# Contributor: Ramdambo <https://github.com/Ramdambo> # Contributor: Ramdambo <https://github.com/Ramdambo>
pkgname=ignition-math pkgname=ignition-math
pkgver=6.4.0 pkgver=6.5.0
pkgrel=6 pkgrel=1
pkgdesc="Math classes and functions for robot applications" pkgdesc="Math classes and functions for robot applications"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="https://ignitionrobotics.org/libs/math" url="https://ignitionrobotics.org/libs/math"
@ -13,33 +13,22 @@ depends=('gcc-libs')
makedepends=('ignition-cmake>=2') makedepends=('ignition-cmake>=2')
optdepends=('eigen') optdepends=('eigen')
conflicts=() conflicts=()
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-math/archive/${pkgname}6_${pkgver}.tar.gz" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-math/archive/${pkgname}6_${pkgver}.tar.gz")
"headerfix.patch::https://github.com/ignitionrobotics/ign-math/commit/fdbd226d70885e85e265d7c61cfa9014bee1a33a.patch") sha256sums=('3b36d22e9191aa8550869bb1384a2c6bd26a5a3356ca0f200653974ac2762b88')
sha256sums=('2961b295c61c7536a10b4e87c1fb812d111ee923e1c83bb6a42dede7d76373c5'
'ab61c420bfab53fac3e7770f322d2249c9a6058488f45069d0f8d52affdd7236')
_dir="ign-math-${pkgname}6_${pkgver}" _dir="ign-math-${pkgname}6_${pkgver}"
prepare() {
cd "$srcdir/$_dir"
patch --forward --strip=1 --input="${srcdir}/headerfix.patch"
}
build() { build() {
cd "$srcdir/$_dir" cd "$srcdir/$_dir"
mkdir -p build mkdir -p build
cd build cd build
# Configure build
cmake .. -DCMAKE_BUILD_TYPE="Release" \ cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \ -DCMAKE_INSTALL_LIBDIR="lib" \
-DBUILD_TESTING:BOOL=False -DBUILD_TESTING:BOOL=False
# Compile
make make
} }
@ -48,4 +37,3 @@ package() {
cd "$srcdir/$_dir/build" cd "$srcdir/$_dir/build"
make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir/" install
} }