xbps-src: make -dbg packages depend on the pkgver they are generated from

Closes: #12161 [via git-merge-pr]
This commit is contained in:
Michael Gehring 2018-03-05 12:47:43 +00:00 committed by Michael Aldridge
parent 6654a1a1fd
commit b9e321456b
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ create_debug_pkg() {
msg_red "$pkgver: failed to create debug pkg\n"
return 1
fi
printf "${pkgver} " >> ${_destdir}/rdeps
rmdir --ignore-fail-on-non-empty "${PKGDESTDIR}/usr/lib" 2>/dev/null
return 0
}