PKGBUILDs/community/gtk2hs/gtk2hs.install

23 lines
672 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
post_install() {
for pkg in glib cairo gtk soegtk glade gconf gtksourceview2 svgcairo gtkglext; do
ghc-pkg register /usr/lib/gtk2hs/${pkg}.package.conf -g
done
}
post_upgrade() {
for pkg in glade gconf sourceview gtksourceview2 svgcairo gtkglext soegtk gtk cairo glib; do
ghc-pkg unregister $pkg
done
for pkg in glib cairo gtk soegtk glade gconf sourceview gtksourceview2 svgcairo gtkglext; do
ghc-pkg register /usr/lib/gtk2hs/${pkg}.package.conf -g
done
}
pre_remove() {
for pkg in glade gconf sourceview gtksourceview2 svgcairo gtkglext soegtk gtk cairo glib; do
ghc-pkg unregister $pkg -g #2>/dev/null
done
rm /usr/lib/gtk2hs/*.o
}