summaryrefslogtreecommitdiff
path: root/community/haskell-hashable/haskell-hashable.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-19 02:14:35 -0700
committerroot <root@rshg054.dnsready.net>2013-09-19 02:14:35 -0700
commitaa563cdeb6975b896ccf30d96943830c15becde0 (patch)
treed0638199c86e6331f0935043e76d0f7579a34a06 /community/haskell-hashable/haskell-hashable.install
parentd21b8cdc0567fba4d6e74284363fedb98f2f7d07 (diff)
Thu Sep 19 02:13:45 PDT 2013
Diffstat (limited to 'community/haskell-hashable/haskell-hashable.install')
-rw-r--r--community/haskell-hashable/haskell-hashable.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/haskell-hashable/haskell-hashable.install b/community/haskell-hashable/haskell-hashable.install
new file mode 100644
index 000000000..de5bb4228
--- /dev/null
+++ b/community/haskell-hashable/haskell-hashable.install
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-hashable
+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)
+}