summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuís Ferreira2019-06-29 23:00:39 +0100
committerLuís Ferreira2019-06-29 23:00:39 +0100
commit7b0dd8d642b4ecb40dc333cfd1451cdc4726b843 (patch)
tree2f5cc87a3cd0008d030e54c4f975de23f589f988
parent6395f7fa7541b60c5bdfaee34772d2e3f35ea66d (diff)
downloadaur-7b0dd8d642b4ecb40dc333cfd1451cdc4726b843.tar.gz
pkg: update to version 0.7.18-3
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD21
2 files changed, 8 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d0411c08126..bbd27b05847 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 = 2
+ pkgrel = 3
url = http://www.ros.org/wiki/catkin
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index fe455281f18..c260692d178 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=2
+pkgrel=3
license=('BSD')
makedepends=(
@@ -51,7 +51,7 @@ build() {
cmake ${srcdir}/${_dir} \
-DCMAKE_BUILD_TYPE=Release \
-DCATKIN_BUILD_BINARY_PACKAGE=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_PREFIX=/usr/share/${pkgname} \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \
-DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \
@@ -69,18 +69,11 @@ package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
- mkdir -p "${pkgdir}/usr/share/${pkgname}/"
- mv "${pkgdir}/usr/etc" "${pkgdir}/etc"
- 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"
+ mv -f "${pkgdir}/usr/share/${pkgname}/etc" "${pkgdir}/etc"
+ mv -f "${pkgdir}/usr/share/${pkgname}/bin" "${pkgdir}/usr/bin"
+ mv -f "${pkgdir}/usr/share/${pkgname}/lib" "${pkgdir}/usr/lib"
+ (cd "${pkgdir}/usr/share/${pkgname}/share" && tar c .) | (cd "${pkgdir}/usr/share" && tar xf -)
+ rm -rf "${pkgdir}/usr/share/${pkgname}/share"
install -Dm644 "${srcdir}/${_dir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}