aur/PKGBUILD

37 lines
983 B
Bash
Raw Normal View History

2020-12-10 04:50:05 +01:00
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=ignition-physics
2021-12-19 04:52:05 +01:00
pkgver=5.1.0
2021-09-27 19:12:22 +02:00
pkgrel=1
2020-12-10 04:50:05 +01:00
pkgdesc="Abstract physics interface designed to support simulation and rapid
development of robot applications."
arch=('x86_64')
url="https://ignitionrobotics.org/libs/physics"
license=('Apache')
2020-12-24 18:10:33 +01:00
depends=('ignition-cmake' 'ignition-math' 'ignition-plugin' 'ignition-common'
2020-12-25 19:04:30 +01:00
'libdart' 'sdformat')
2020-12-30 20:20:44 +01:00
makedepends=('cmake')
2021-12-19 04:52:05 +01:00
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-physics/archive/${pkgname}5_${pkgver}.tar.gz")
sha256sums=('8b83eacaaf83196fd3a3ff164cb36a5859d434e359299ecf9259a6d4aebd7280')
2020-12-10 04:50:05 +01:00
2021-12-19 04:52:05 +01:00
_dir="ign-physics-${pkgname}5_${pkgver}"
2020-12-30 20:12:02 +01:00
2020-12-10 04:50:05 +01:00
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
2020-12-30 20:12:02 +01:00
-DCMAKE_INSTALL_PREFIX="/usr" \
2020-12-10 04:50:05 +01:00
-DCMAKE_INSTALL_LIBDIR="lib" \
-DBUILD_TESTING=OFF
make
}
package() {
cd "$srcdir/$_dir/build"
2020-12-30 20:12:02 +01:00
make DESTDIR="${pkgdir}/" install
2020-12-10 04:50:05 +01:00
}