summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuís Ferreira2019-06-29 22:41:22 +0100
committerLuís Ferreira2019-06-29 22:41:22 +0100
commit6395f7fa7541b60c5bdfaee34772d2e3f35ea66d (patch)
treece40053792e85b4b7d7ba29ab5f5674e569d7db9
parent2ae6823cae53169cc05c7f3095a2b0b580259339 (diff)
downloadaur-6395f7fa7541b60c5bdfaee34772d2e3f35ea66d.tar.gz
pkg: update to version 0.7.18-2
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD24
2 files changed, 14 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 57b8d218d5c..d0411c08126 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros-catkin
pkgdesc = Low-level build system macros and infrastructure for ROS.
pkgver = 0.7.18
- pkgrel = 1
+ pkgrel = 2
url = http://www.ros.org/wiki/catkin
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 666bce860b9..fe455281f18 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc="Low-level build system macros and infrastructure for ROS."
url='http://www.ros.org/wiki/catkin'
pkgver='0.7.18'
arch=('any')
-pkgrel=1
+pkgrel=2
license=('BSD')
makedepends=(
@@ -68,17 +68,19 @@ check() {
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
+
+ mkdir -p "${pkgdir}/usr/share/${pkgname}/"
mv "${pkgdir}/usr/etc" "${pkgdir}/etc"
- rm "${pkgdir}/usr/.catkin"
- rm "${pkgdir}/usr/_setup_util.py"
- rm "${pkgdir}/usr/env.sh"
- rm "${pkgdir}/usr/setup.bash"
- rm "${pkgdir}/usr/local_setup.bash"
- rm "${pkgdir}/usr/setup.sh"
- rm "${pkgdir}/usr/local_setup.sh"
- rm "${pkgdir}/usr/setup.zsh"
- rm "${pkgdir}/usr/local_setup.zsh"
- rm "${pkgdir}/usr/.rosinstall"
+ mv "${pkgdir}/usr/.catkin" "${pkgdir}/usr/share/${pkgname}/.catkin"
+ mv "${pkgdir}/usr/_setup_util.py" "${pkgdir}/usr/share/${pkgname}/_setup_util.py"
+ mv "${pkgdir}/usr/env.sh" "${pkgdir}/usr/share/${pkgname}/env.sh"
+ mv "${pkgdir}/usr/setup.bash" "${pkgdir}/usr/share/${pkgname}/setup.bash"
+ mv "${pkgdir}/usr/local_setup.bash" "${pkgdir}/usr/share/${pkgname}/local_setup.bash"
+ mv "${pkgdir}/usr/setup.sh" "${pkgdir}/usr/share/${pkgname}/setup.sh"
+ mv "${pkgdir}/usr/local_setup.sh" "${pkgdir}/usr/share/${pkgname}/local_setup.sh"
+ mv "${pkgdir}/usr/setup.zsh" "${pkgdir}/usr/share/${pkgname}/setup.zsh"
+ mv "${pkgdir}/usr/local_setup.zsh" "${pkgdir}/usr/share/${pkgname}/local_setup.zsh"
+ mv "${pkgdir}/usr/.rosinstall" "${pkgdir}/usr/share/${pkgname}/.rosinstall"
install -Dm644 "${srcdir}/${_dir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}