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 /PKGBUILD | |
parent | 66fcece7184ed83882ef3edea1d201d917dd3b76 (diff) | |
download | aur-61929c1993215ae90bd2f16c8f5291d555a08b96.tar.gz |
[ardupilot-gazebo-sitl-git] xacro patch (#113)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 |