wok-next rev 18081
marco: compile glib schemas
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 18:19:21 2015 -0300 (2015-05-22) |
parents | 2446d512c1d5 |
children | c31dd4eecbd3 |
files | marco/receipt |
line diff
1.1 --- a/marco/receipt Fri May 22 18:02:36 2015 -0300 1.2 +++ b/marco/receipt Fri May 22 18:19:21 2015 -0300 1.3 @@ -36,3 +36,15 @@ 1.4 cp -a $install/usr/bin $fs/usr 1.5 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.6 } 1.7 + 1.8 +post_install() 1.9 +{ 1.10 + echo "Processing post-install commands..." 1.11 + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 1.12 +} 1.13 + 1.14 +post_remove() 1.15 +{ 1.16 + echo "Processing post-remove commands..." 1.17 + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 1.18 +}