ArchLinux/pkgbuild/haskell-alsa-core/haskell-alsa-core.install

19 lines
420 B
Text
Raw Normal View History

2012-03-05 16:42:22 +01:00
HS_DIR=usr/share/haskell/haskell-alsa-core
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)
}