From ff5b0095df9892c00b68c4115e1e383ffec72a99 Mon Sep 17 00:00:00 2001 From: Atsushi Watanabe Date: Mon, 29 Jul 2024 17:05:41 +0900 Subject: [PATCH] Fix depends_dev handling --- generate_rospkg_apkbuild/APKBUILD.em.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generate_rospkg_apkbuild/APKBUILD.em.sh b/generate_rospkg_apkbuild/APKBUILD.em.sh index de5a269..4d051b6 100644 --- a/generate_rospkg_apkbuild/APKBUILD.em.sh +++ b/generate_rospkg_apkbuild/APKBUILD.em.sh @@ -393,8 +393,12 @@ doc() { @[if split_dev]@ dev() { + local i= mkdir -p $subpkgdir + install_if="${subpkgname%-dev}=$pkgver-r$pkgrel ros-dev" + depends="$depends_dev" + pkgdesc="$pkgdesc (development files)" cd $pkgdir || return 0