diff options
author | Achmad Fathoni | 2021-02-26 00:49:24 +0700 |
---|---|---|
committer | GitHub | 2021-02-25 12:49:24 -0500 |
commit | 61929c1993215ae90bd2f16c8f5291d555a08b96 (patch) | |
tree | 503bb45016ae28c4f9d5504bf2f5568314908f3a | |
parent | 66fcece7184ed83882ef3edea1d201d917dd3b76 (diff) | |
download | aur-61929c1993215ae90bd2f16c8f5291d555a08b96.tar.gz |
[ardupilot-gazebo-sitl-git] xacro patch (#113)
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = ardupilot-gazebo-sitl-git pkgdesc = Gazebo plugin for Ardupilot's SITL. - pkgver = r33.a6cc333 + pkgver = r34.e72ecf5 pkgrel = 1 url = https://ardupilot.org/dev/docs/using-gazebo-simulator-with-sitl.html arch = x86_64 @@ -10,6 +10,8 @@ pkgbase = ardupilot-gazebo-sitl-git optdepends = ardupilot-sitl provides = ardupilot-gazebo-sitl source = ardupilot-gazebo-stil::git+https://github.com/khancyr/ardupilot_gazebo.git + source = xacro.patch::https://github.com/khancyr/ardupilot_gazebo/pull/42.patch + sha256sums = SKIP sha256sums = SKIP pkgname = ardupilot-gazebo-sitl-git @@ -1,6 +1,6 @@ # Maintainer: acxz <akashpatel2008 at yahoo dot com> pkgname=ardupilot-gazebo-sitl-git -pkgver=r33.a6cc333 +pkgver=r34.e72ecf5 pkgrel=1 pkgdesc="Gazebo plugin for Ardupilot's SITL." arch=('x86_64') @@ -11,14 +11,21 @@ optdepends=('ardupilot-sitl') makedepends=('cmake') provides=('ardupilot-gazebo-sitl') _pkgname=ardupilot-gazebo-stil -source=("${_pkgname}::git+https://github.com/khancyr/ardupilot_gazebo.git") -sha256sums=('SKIP') +source=("${_pkgname}::git+https://github.com/khancyr/ardupilot_gazebo.git" + "xacro.patch"::"https://github.com/khancyr/ardupilot_gazebo/pull/42.patch") +sha256sums=('SKIP' + 'SKIP') pkgver() { cd "${_pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "$_pkgname" + patch --forward --strip=1 --input="${srcdir}/xacro.patch" +} + build() { mkdir -p ${srcdir}/${_pkgname}/build cd ${srcdir}/${_pkgname}/build |