Created
November 2, 2016 05:11
-
-
Save justbuchanan/deb12082994047308bc1e99db959efba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=sdformat | |
pkgver=4.2.0 | |
pkgrel=1 | |
pkgdesc="SDF Converter for gazebo" | |
arch=('i686' 'x86_64') | |
url="http://sdformat.org/" | |
license=('Apache') | |
depends=('boost' 'tinyxml' 'ignition-math>=2') | |
makedepends=('cmake' 'doxygen' 'ruby>=1.9.1') | |
source=("http://osrf-distributions.s3.amazonaws.com/${pkgname}/releases/${pkgname}-${pkgver}.tar.bz2") | |
sha256sums=('75e2d053f97ca33456109b4d7794e6b7d26deef59c778f0d9e25d1369b24b094') | |
prepare(){ | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
mkdir -p build && cd build | |
cmake .. -DCMAKE_BUILD_TYPE="Release" \ | |
-DCMAKE_INSTALL_PREFIX=/usr \ | |
-DCMAKE_INSTALL_LIBDIR=lib | |
} | |
build() { | |
cd "${srcdir}/${pkgname}-${pkgver}/build" | |
make | |
} | |
# check() { | |
# cd "${srcdir}/${pkgname}-${pkgver}/build" | |
# make test | |
# } | |
package() { | |
cd "${srcdir}/${pkgname}-${pkgver}/build" | |
make DESTDIR="$pkgdir/" install | |
} |
Sure thing. I'd recommend checking out this page on the arch wiki: https://wiki.archlinux.org/index.php/Arch_User_Repository#Build_and_install_the_package. You can download the PKGBUILD from my gist and use makepkg
to build and install the package.
Note that I don't maintain this file - it will likely be out of date soon if it isn't already.
Thanks, yeah, you are right. There is a version 5.0.0 already and Gazebo 8.0.0. Pretty hard to install, oh well.
Lord I had a nightmare of a time trying to get gazebo up and running. Thanks for this.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this, for future reference, is there any way to directly install from this PKGBUILD? I edited the PKGBUILD when installing sdformat, but it seems kinda hacky.