updated on Fri Jan 13 20:02:10 UTC 2012
[aur-mirror.git] / haskell-cprng-aes / haskell-cprng-aes.install
blobe8c49a4c5df04eb4dc6543a7d873002900ce1a21
1 # custom variables
2 pkgname=haskell-cprng-aes
3 HS_DIR=usr/share/haskell/${pkgname}
5 # functions
6 post_install() {
7     ${HS_DIR}/register.sh
8     (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
11 pre_upgrade() {
12     ${HS_DIR}/unregister.sh
15 post_upgrade() {
16     ${HS_DIR}/register.sh
17     (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
20 pre_remove() {
21     ${HS_DIR}/unregister.sh
24 post_remove() {
25     (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)