[arch-commits] Commit in haskell-aeson-compat/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 16 07:57:19 UTC 2017
Date: Wednesday, August 16, 2017 @ 07:57:19
Author: felixonmars
Revision: 251257
upgpkg: haskell-aeson-compat 0.3.7.1-4
GHC 8.2.1 rebuild
Modified:
haskell-aeson-compat/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-16 07:55:49 UTC (rev 251256)
+++ PKGBUILD 2017-08-16 07:57:19 UTC (rev 251257)
@@ -5,15 +5,16 @@
_hkgname=aeson-compat
pkgname=haskell-aeson-compat
pkgver=0.3.7.1
-pkgrel=3
+pkgrel=4
pkgdesc="Compatibility layer for aeson"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=('ghc' "haskell-aeson" "haskell-attoparsec" "haskell-attoparsec-iso8601"
+depends=('ghc-libs' "haskell-aeson" "haskell-attoparsec" "haskell-attoparsec-iso8601"
"haskell-base-compat" "haskell-exceptions" "haskell-hashable" "haskell-scientific"
"haskell-text" "haskell-tagged" "haskell-time-locale-compat"
"haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('47a9c1148cad6ac14455306579ff658192479eb6bc2132bb2204b94b3c89d8ad99b3d7600354d6a49922867f8d9226acf35107f225ab2b46d3e4c298a3ca7369')
@@ -24,7 +25,6 @@
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
--dynlibdir=/usr/lib --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.*update[^ ]* |&'--force' |" register.sh
@@ -36,8 +36,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