[arch-commits] Commit in haskell-http2/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Oct 30 08:27:45 UTC 2018
Date: Tuesday, October 30, 2018 @ 08:27:44
Author: felixonmars
Revision: 399545
upgpkg: haskell-http2 1.6.4-1
rebuild with http2 1.6.4
Modified:
haskell-http2/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-30 08:08:26 UTC (rev 399544)
+++ PKGBUILD 2018-10-30 08:27:44 UTC (rev 399545)
@@ -3,26 +3,24 @@
_hkgname=http2
pkgname=haskell-http2
-pkgver=1.6.3
-pkgrel=31
+pkgver=1.6.4
+pkgrel=1
pkgdesc="HTTP/2.0 library including frames and HPACK"
url="https://github.com/kazu-yamamoto/http2"
license=("custom:BSD3")
arch=('x86_64')
-depends=('ghc-libs' "haskell-case-insensitive" "haskell-psqueues")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-network-byte-order' 'haskell-psqueues')
+makedepends=('ghc' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-doctest' 'haskell-glob'
+ 'haskell-hex' 'haskell-hspec' 'haskell-word8' 'haskell-unordered-containers'
+ 'haskell-vector')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('4227424f8a73181a1036bf4a0593116ebea6d1ac036ea2f5f428128580012bfc0b98e02b6fe0477d561c4f73f9ce2c30302e301727caf0fedbc3743111846e39')
+sha512sums=('f637597827abae4968f9af69a190432af6bc37b6ecf2420766341e4739cab558c20b43aecf0eb4be1ef8a8b05f3d75dfc56243ec65c0b842cba542df7d5ab8d9')
-prepare() {
- sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
-}
-
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-f-devel
runhaskell Setup build
@@ -32,6 +30,11 @@
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test
+}
+
package() {
cd "${srcdir}/${_hkgname}-${pkgver}"
More information about the arch-commits
mailing list