diff options
-rwxr-xr-x | bin/modpkg | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -7,7 +7,8 @@ set pbfields {pkgname pkgver pkgrel pkgdesc pkgbase groups arch backup depends makedepends checkdepends optdepends conflicts provides replaces - options} + options + dir ver} set pbfuncs {build check package} set dotfuncs {pre_install post_install pre_upgrade post_upgrade @@ -167,5 +168,10 @@ foreach name $pbfields { set pkgdata($name) [$modi eval set $name] } } +if {[info exists pkgdata(customvars)]} { + foreach cvar $pkgdata(customvars) { + set pkgdata($cvar) [$modi eval set $cvar] + } +} printfields stdout |