diff --git a/shutils/install_funcs.sh b/shutils/install_funcs.sh index 4f77ab9e6e5..e139a62e00f 100644 --- a/shutils/install_funcs.sh +++ b/shutils/install_funcs.sh @@ -36,8 +36,12 @@ install_src_phase() [ -z $pkg ] && [ -z $pkgname ] && return 1 # # There's nothing we can do if we are a meta template. + # Just creating the dir is enough to write the package metadata. # - [ "$build_style" = "meta-template" ] && return 0 + if [ "$build_style" = "meta-template" ]; then + mkdir -p $XBPS_DESTDIR/$pkgname-$version + return 0 + fi [ ! -d $wrksrc ] && msg_error "unexistent build directory [$wrksrc]"