aur/PKGBUILD

52 lines
1.2 KiB
Text
Raw Normal View History

# Maintainer: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Mykola Dolhyi <0xb000@gmail.com>
pkgname=ignition-math
2020-01-15 03:59:39 +01:00
pkgver=6.4.0
2020-01-16 02:29:42 +01:00
pkgrel=2
pkgdesc="Math classes and functions for robot applications"
arch=('i686' 'x86_64')
url="http://ignitionrobotics.org/"
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=()
source=("https://bitbucket.org/ignitionrobotics/ign-math/get/${pkgname}6_${pkgver}.tar.bz2")
2020-01-15 03:59:39 +01:00
sha256sums=('5463d2ee5202ad60965a613361c1b12e34d3a8c49ad9037b16120f89b0250745')
2020-01-15 03:59:39 +01:00
_dir="ignitionrobotics-ign-math-11bba67b3176"
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
# Configure 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
# Compile
2019-06-30 23:36:59 +02:00
make
}
#check() {
# cd "$srcdir/$_dir/build"
#
# cmake .. -DCMAKE_BUILD_TYPE="Release" \
# -DCMAKE_INSTALL_PREFIX="/usr" \
# -DCMAKE_INSTALL_LIBDIR="lib" \
# -DBUILD_TESTING:BOOL=True
#
# make
# make test
#}
2018-01-04 23:50:39 +01:00
package() {
cd "$srcdir/$_dir/build"
make DESTDIR="$pkgdir/" install
}