diff options
author | João Miguel | 2016-08-20 21:02:26 +0100 |
---|---|---|
committer | João Miguel | 2016-08-20 21:02:26 +0100 |
commit | f13450e03efd6eff02207a656fcde68928815bdf (patch) | |
tree | 32aa3de72d28a0764259bf4c6e76c4157e158d0a /haskell-hsh.install | |
download | aur-f13450e03efd6eff02207a656fcde68928815bdf.tar.gz |
Initial commit, patched as the package upstream is old
Diffstat (limited to 'haskell-hsh.install')
-rw-r--r-- | haskell-hsh.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/haskell-hsh.install b/haskell-hsh.install new file mode 100644 index 000000000000..73a1dcaf42a1 --- /dev/null +++ b/haskell-hsh.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-hsh +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) +} |