summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9836518600042b993fc8b21c3bdaead1c84c705 (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
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Tim Rakowski <tim.rakowski@gmail.com>
# Contributor: marauder <abhinav.kssk@gmail.com>
pkgname=ignition-tools-1
pkgver=1.5.0
pkgrel=1
pkgdesc="Command line tools for the Gazebo libraries"
arch=('any')
url="https://gazebosim.org/libs/tools"
license=('Apache')
makedepends=('cmake' 'ignition-cmake' 'doxygen' 'pkg-config' 'ruby-ronn')
depends=('ruby')
provides=('ignition-tools=1')
source=("https://github.com/gazebosim/gz-tools/archive/ignition-tools_${pkgver}.tar.gz")
sha256sums=('cc99189063b6556e539836a438bdbb9da6eca1fe95a7058d46bfc17debc3d8f5')

_dir="gz-tools-ignition-tools_${pkgver}"

build() {
  cd "$srcdir/$_dir"

  mkdir -p build
  cd build

  cmake .. -DCMAKE_BUILD_TYPE="Release" \
           -DCMAKE_INSTALL_PREFIX="/usr" \
           -DCMAKE_INSTALL_LIBDIR="lib"

  make
}

package() {
  cd "$srcdir/$_dir/build"
  make DESTDIR="$pkgdir/" install
}