aur/PKGBUILD
Benjamin Chrétien 79f4dc93ee Fix commit hash
2015-09-26 03:00:53 +09:00

43 lines
1,018 B
Bash

# Contributor: Mykola Dolhyi <0xb000@gmail.com>
pkgname=ignition-math
pkgver=2.2.3
pkgrel=2
pkgdesc="Math classes and functions for robot applications"
arch=('i686' 'x86_64')
url="http://ignitionrobotics.org/"
license=('Apache')
groups=('development')
depends=()
makedepends=('cmake' 'ruby-ronn' 'pkg-config>=0.28')
optdepends=()
provides=('ignition-math2')
conflicts=()
replaces=('ignition-math2')
#changelog=
source=("https://bitbucket.org/ignitionrobotics/ign-math/get/${pkgname}2_${pkgver}.tar.bz2")
#noextract=()
sha256sums=('eab7875b0f930ba685950678d0f9ede70ec53ead7960bd2d58ef442ee9a80445')
#validpgpkeys=()
_dir="ignitionrobotics-ign-math-f3919dfcf50e"
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
# Configure build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DENABLE_TESTS_COMPILATION:BOOL=False
# Compile
make
}
package() {
cd "$srcdir/$_dir/build"
make DESTDIR="$pkgdir/" install
}