Commit ad50945d authored by Natanael Copa's avatar Natanael Copa

abuild: use versioned depends for -dev subpackage

parent 1606a8b3
......@@ -1251,11 +1251,11 @@ doc() {
# predefined splitfunc dev
default_dev() {
local i= j=
depends="$pkgname $depends_dev"
depends="$pkgname=$pkgver-r$pkgrel $depends_dev"
pkgdesc="$pkgdesc (development files)"
for i in $origsubpackages; do
[ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}"
[ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}=$pkgver-r$pkgrel"
done
cd "$pkgdir" || return 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment