create ignition-physics package
This commit is contained in:
commit
b2e9ef5ec7
2 changed files with 51 additions and 0 deletions
13
.SRCINFO
Normal file
13
.SRCINFO
Normal file
|
@ -0,0 +1,13 @@
|
|||
pkgbase = ignition-physics
|
||||
pkgdesc = Abstract physics interface designed to support simulation and rapid development of robot applications.
|
||||
pkgver = 3.1.0
|
||||
pkgrel = 1
|
||||
url = https://ignitionrobotics.org/libs/physics
|
||||
arch = x86_64
|
||||
license = Apache
|
||||
makedepends = cmake
|
||||
source = ignition-physics-3.1.0.tar.gz::https://github.com/ignitionrobotics/ign-physics/archive/ignition-physics3_3.1.0.tar.gz
|
||||
sha256sums = b8e5460d2808e20237b2ee0a6a6b7613b56412f5f6e2a5e153e48e8faae8ab77
|
||||
|
||||
pkgname = ignition-physics
|
||||
|
38
PKGBUILD
Normal file
38
PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
|
||||
|
||||
pkgname=ignition-physics
|
||||
pkgver=3.1.0
|
||||
pkgrel=1
|
||||
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')
|
||||
depends=()
|
||||
makedepends=('cmake')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-physics/archive/${pkgname}3_${pkgver}.tar.gz")
|
||||
sha256sums=('b8e5460d2808e20237b2ee0a6a6b7613b56412f5f6e2a5e153e48e8faae8ab77')
|
||||
|
||||
_dir="ign-physics-${pkgname}3_${pkgver}"
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue