aur/PKGBUILD

40 lines
1,013 B
Bash
Raw Normal View History

# Maintainer: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Mykola Dolhyi <0xb000@gmail.com>
# Contributor: Ramdambo <https://github.com/Ramdambo>
pkgname=ignition-math
2020-11-26 16:02:26 +01:00
pkgver=6.7.0
2020-09-08 22:00:40 +02:00
pkgrel=1
pkgdesc="Math classes and functions for robot applications"
arch=('i686' 'x86_64')
2020-03-07 19:26:46 +01:00
url="https://ignitionrobotics.org/libs/math"
license=('Apache')
groups=('development')
2018-02-24 10:45:26 +01:00
depends=('gcc-libs')
2020-01-16 02:32:45 +01:00
makedepends=('ignition-cmake>=2')
2020-01-16 02:29:42 +01:00
optdepends=('eigen')
conflicts=()
2020-09-08 22:00:40 +02:00
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-math/archive/${pkgname}6_${pkgver}.tar.gz")
2020-11-26 16:02:26 +01:00
sha256sums=('8456af51cbb128d7468d65b55124af7a235f052214ac2a239c3f23197416f2d2')
_dir="ign-math-${pkgname}6_${pkgver}"
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
2018-02-24 10:45:26 +01:00
-DBUILD_TESTING:BOOL=False
2019-06-30 23:36:59 +02:00
make
}
package() {
cd "$srcdir/$_dir/build"
make DESTDIR="$pkgdir/" install
}