[arch-commits] Commit in haskell-test-framework/trunk (2 files)

Felix Yan felixonmars at archlinux.org
Sat Aug 5 22:07:59 UTC 2017


    Date: Saturday, August 5, 2017 @ 22:07:58
  Author: felixonmars
Revision: 248895

upgpkg: haskell-test-framework 0.8.1.1-10

rebuild with ansi-wl-pprint,0.6.8

Modified:
  haskell-test-framework/trunk/PKGBUILD
Deleted:
  haskell-test-framework/trunk/haskell-test-framework.install

--------------------------------+
 PKGBUILD                       |    6 +++---
 haskell-test-framework.install |   18 ------------------
 2 files changed, 3 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-05 22:06:19 UTC (rev 248894)
+++ PKGBUILD	2017-08-05 22:07:58 UTC (rev 248895)
@@ -5,12 +5,12 @@
 _hkgname=test-framework
 pkgname=haskell-test-framework
 pkgver=0.8.1.1
-pkgrel=9
+pkgrel=10
 pkgdesc="Framework for running and organising tests, with HUnit and QuickCheck support"
 url="https://batterseapower.github.io/test-framework/"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc" "haskell-ansi-terminal" "haskell-ansi-wl-pprint" "haskell-hostname"
+depends=('ghc' "haskell-ansi-terminal" "haskell-ansi-wl-pprint" "haskell-hostname"
          "haskell-old-locale" "haskell-random" "haskell-regex-posix" "haskell-xml")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('7883626a5aebb1df327bf26dbd382208946250a79f9cc3bf9a9eb0b0767bb273')
@@ -24,7 +24,7 @@
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
-        --libsubdir=\$compiler/site-local/\$pkgid \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-tests
     runhaskell Setup build
     runhaskell Setup haddock --hoogle --html

Deleted: haskell-test-framework.install
===================================================================
--- haskell-test-framework.install	2017-08-05 22:06:19 UTC (rev 248894)
+++ haskell-test-framework.install	2017-08-05 22:07:58 UTC (rev 248895)
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/haskell-test-framework
-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)
-}



More information about the arch-commits mailing list