ArchLinux/pkgbuild/haskell-libmpd-git/haskell-libmpd-git.install
Cedric Girard 7a02bda149 Addition of git version of haskell-libmpd to support new GHC version
in xmobar. Update of xmobar-git to use this new version.
2011-03-30 10:31:39 +02:00

18 lines
417 B
Text

HS_DIR=usr/share/haskell/haskell-libmpd
post_install() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}