[arch-commits] Commit in haskell-tagsoup/trunk (haskell-tagsoup.install)
Felix Yan
fyan at archlinux.org
Tue Oct 13 01:47:28 UTC 2015
Date: Tuesday, October 13, 2015 @ 03:47:27
Author: fyan
Revision: 143820
upgpkg: haskell-tagsoup 0.13.3-1
Modified:
haskell-tagsoup/trunk/haskell-tagsoup.install
-------------------------+
haskell-tagsoup.install | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
Modified: haskell-tagsoup.install
===================================================================
--- haskell-tagsoup.install 2015-10-13 01:44:10 UTC (rev 143819)
+++ haskell-tagsoup.install 2015-10-13 01:47:27 UTC (rev 143820)
@@ -1,26 +1,18 @@
-# custom variables
-pkgname=haskell-tagsoup
-HS_DIR=usr/share/haskell/${pkgname}
-
-# functions
+HS_DIR=usr/share/haskell/haskell-tagsoup
post_install() {
- ${HS_DIR}/register.sh --verbose=0
- /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-
pre_upgrade() {
- ${HS_DIR}/unregister.sh --verbose=0
+ ${HS_DIR}/unregister.sh
}
-
post_upgrade() {
- ${HS_DIR}/register.sh --verbose=0
- /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-
pre_remove() {
- ${HS_DIR}/unregister.sh --verbose=0
+ ${HS_DIR}/unregister.sh
}
-
post_remove() {
- /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
More information about the arch-commits
mailing list