[arch-commits] Commit in haskell-data-default-instances-old-locale/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Aug 15 08:19:42 UTC 2017


    Date: Tuesday, August 15, 2017 @ 08:19:40
  Author: felixonmars
Revision: 250705

upgpkg: haskell-data-default-instances-old-locale 0.0.1-15

GHC 8.2.1 rebuild

Modified:
  haskell-data-default-instances-old-locale/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-15 08:18:42 UTC (rev 250704)
+++ PKGBUILD	2017-08-15 08:19:40 UTC (rev 250705)
@@ -3,12 +3,13 @@
 _hkgname=data-default-instances-old-locale
 pkgname=haskell-data-default-instances-old-locale
 pkgver=0.0.1
-pkgrel=14
+pkgrel=15
 pkgdesc="Default instances for types in old-locale"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc' 'haskell-data-default-class' 'haskell-old-locale')
+depends=('ghc-libs' 'haskell-data-default-class' 'haskell-old-locale')
+makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 md5sums=('43bd868049d870ee722eda6bdd89fc28')
 
@@ -16,7 +17,7 @@
     cd ${srcdir}/${_hkgname}-${pkgver}
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
-        --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri
     runhaskell Setup build
     runhaskell Setup haddock
     runhaskell Setup register   --gen-script
@@ -30,8 +31,6 @@
     
     install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-    install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
-    ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
     runhaskell Setup copy --destdir=${pkgdir}
     install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
     rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE



More information about the arch-commits mailing list