blob: ce13b759ca9d6c27c0cee8e2ab642e68093a4318 (
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
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Tim Rakowski <tim.rakowski@gmail.com>
pkgname=ignition-cmake
pkgver=2.1.1
pkgrel=1
pkgdesc="Provides modules that are used to find dependencies of ignition projects and generate cmake targets for consumers of ignition projects to link against."
arch=('any')
url="http://ignitionrobotics.org/libs/cmake"
license=('Apache')
groups=('development')
depends=('cmake' 'pkg-config' 'ruby-ronn' 'doxygen')
optdepends=()
conflicts=()
source=("https://bitbucket.org/ignitionrobotics/ign-cmake/get/${pkgname}2_${pkgver}.tar.bz2")
sha256sums=('ad89c81695b161694f86d5cffdc5d8fbbb896ea51290e30e4f07b3e7379464a2')
_dir="ignitionrobotics-ign-cmake-02065e48ea4f"
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
# Configure build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DBUILD_TESTING=OFF
# Compile
make
}
package() {
cd "$srcdir/$_dir/build"
#make DESTDIR="$pkgdir/" install
make install
}
|