blob: 30caa3142d16efd4c8d0623ee5871bfdae7c47d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Tim Rakowski <tim.rakowski@gmail.com>
pkgname=ignition-common
pkgver=3.1.0
pkgrel=3
pkgdesc="A collection of useful classes and functions for handling many command tasks. This includes parsing 3D mesh files, managing console output, and using PID controllers."
arch=('any')
url="http://ignitionrobotics.org/libs/common"
license=('Apache')
groups=('development')
depends=('ignition-math>=6' 'tinyxml2' 'freeimage' 'libutil-linux' 'gts' 'ffmpeg')
makedepends=('ignition-cmake>=2' 'util-linux')
optdepends=()
conflicts=()
source=("https://bitbucket.org/ignitionrobotics/ign-common/get/${pkgname}3_${pkgver}.tar.bz2")
sha256sums=('012991eef45ca8c43f9caf7b4c67014cb43e8571a74a272f4d22fa421b0c9c9f')
_dir="ignitionrobotics-ign-common-c6d4da1fca3d"
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
# Configure build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DBUILD_TESTING:BOOL=False
# Compile
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
#}
package() {
cd "$srcdir/$_dir/build"
make DESTDIR="$pkgdir/" install
}
|