mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
672 B
Text
22 lines
672 B
Text
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
|
|
}
|
|
|