[arch-commits] Commit in haskell-haddock-library/trunk (3 files)
Sergej Pupykin
spupykin at archlinux.org
Tue Dec 30 21:55:30 UTC 2014
Date: Tuesday, December 30, 2014 @ 22:55:30
Author: spupykin
Revision: 125042
upgpkg: haskell-haddock-library 1.1.1-1
upd
Added:
haskell-haddock-library/trunk/haskell-haddock-library.install
(from rev 124976, haskell-haddock-library/trunk/haskell-haddock-api.install)
Modified:
haskell-haddock-library/trunk/PKGBUILD
Deleted:
haskell-haddock-library/trunk/haskell-haddock-api.install
---------------------------------+
PKGBUILD | 16 ++++------------
haskell-haddock-api.install | 26 --------------------------
haskell-haddock-library.install | 26 ++++++++++++++++++++++++++
3 files changed, 30 insertions(+), 38 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-30 21:04:28 UTC (rev 125041)
+++ PKGBUILD 2014-12-30 21:55:30 UTC (rev 125042)
@@ -13,23 +13,15 @@
options=('strip' 'staticlibs')
install="${pkgname}.install"
source=("http://hackage.haskell.org/packages/archive/haddock-library/${pkgver}/haddock-library-${pkgver}.tar.gz")
-sha256sums=("551b4485663f86528ebc8c9a268eee97342f83ff07e863226449cdd2a6e745e8")
+sha256sums=('350c2dd4f62fc85debe53ea51ce2a7e8ec7c8abb1b5acc664c5adf80ebaa566a')
-prepare() {
- cd "${srcdir}/haddock-library-${pkgver}"
-
- # no cabal patch
- # no source patch
-}
-
build() {
cd "${srcdir}/haddock-library-${pkgver}"
- runhaskell Setup configure -O --enable-library-profiling --enable-shared \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
- --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+ --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
- runhaskell Setup haddock --hoogle --html
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
Deleted: haskell-haddock-api.install
===================================================================
--- haskell-haddock-api.install 2014-12-30 21:04:28 UTC (rev 125041)
+++ haskell-haddock-api.install 2014-12-30 21:55:30 UTC (rev 125042)
@@ -1,26 +0,0 @@
-# custom variables
-pkgname=haskell-haddock-api
-HS_DIR=usr/share/haskell/${pkgname}
-
-# functions
-post_install() {
- ${HS_DIR}/register.sh
- /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
-}
-
-pre_upgrade() {
- ${HS_DIR}/unregister.sh
-}
-
-post_upgrade() {
- ${HS_DIR}/register.sh
- /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
-}
-
-pre_remove() {
- ${HS_DIR}/unregister.sh
-}
-
-post_remove() {
- /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
-}
Copied: haskell-haddock-library/trunk/haskell-haddock-library.install (from rev 124976, haskell-haddock-library/trunk/haskell-haddock-api.install)
===================================================================
--- haskell-haddock-library.install (rev 0)
+++ haskell-haddock-library.install 2014-12-30 21:55:30 UTC (rev 125042)
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-haddock-api
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ /usr/share/doc/ghc/html/libraries/arch-gen-contents-index
+}
More information about the arch-commits
mailing list