[arch-commits] Commit in haskell-network-protocol-xmpp/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 16 19:55:39 UTC 2017
Date: Wednesday, August 16, 2017 @ 19:55:38
Author: felixonmars
Revision: 251523
upgpkg: haskell-network-protocol-xmpp 0.4.8-10
GHC 8.2.1 rebuild
Modified:
haskell-network-protocol-xmpp/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-16 19:54:10 UTC (rev 251522)
+++ PKGBUILD 2017-08-16 19:55:38 UTC (rev 251523)
@@ -5,13 +5,14 @@
_hkgname=network-protocol-xmpp
pkgname=haskell-network-protocol-xmpp
pkgver=0.4.8
-pkgrel=9
+pkgrel=10
pkgdesc="Client library for the XMPP protocol."
url="https://john-millikin.com/software/haskell-xmpp/"
license=("GPL3")
arch=('i686' 'x86_64')
-depends=("ghc" "haskell-gnuidn" "haskell-gnutls" "haskell-gsasl" "haskell-libxml-sax"
+depends=('ghc-libs' "haskell-gnuidn" "haskell-gnutls" "haskell-gsasl" "haskell-libxml-sax"
"haskell-monads-tf" "haskell-network" "haskell-text" "haskell-xml-types")
+makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('ea7729e00452da11ed489a71f482e0aa082b0fb872eedca2e3722a05fd421e1e')
@@ -20,9 +21,8 @@
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
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
@@ -34,8 +34,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}"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
More information about the arch-commits
mailing list