[arch-commits] Commit in haskell-httpd-shed/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Mar 20 09:31:47 UTC 2019


    Date: Wednesday, March 20, 2019 @ 09:31:46
  Author: felixonmars
Revision: 442873

upgpkg: haskell-httpd-shed 0.4.1.0-1

rebuild with httpd-shed 0.4.1.0

Modified:
  haskell-httpd-shed/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-20 09:29:08 UTC (rev 442872)
+++ PKGBUILD	2019-03-20 09:31:46 UTC (rev 442873)
@@ -3,22 +3,17 @@
 
 _hkgname=httpd-shed
 pkgname=haskell-httpd-shed
-pkgver=0.4.0.3
-pkgrel=48
+pkgver=0.4.1.0
+pkgrel=1
 pkgdesc="A simple web-server with an interact style API"
 url="https://github.com/andygill/httpd-shed/"
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-network' 'haskell-network-uri')
+depends=('ghc-libs' 'haskell-network' 'haskell-network-bsd' 'haskell-network-uri')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('4fc4da5dd42194890e4201129c7217191cc1c8f82a366b84f42f9129c45fa5cb40211674608c84df420f8d8659fd60908880d14176a36f6aa0f89c01a8c1fa6c')
+sha512sums=('8383a6ebe6a0f9b7e2b32f258999c62b0575dabe214be07b0249f8b72a523ed1a22d819a556a6085b15202dab98a44dbcd5013bb9e600c2a9eda14dad8ca7364')
 
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/<.*2.7/<3/' $_hkgname.cabal
-}
-
 build() {
     cd $_hkgname-$pkgver
 
@@ -25,7 +20,7 @@
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir=/usr/share/doc/$pkgname \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-buildexamples -fnetwork-uri
+            -f-buildexamples -fnetwork-uri -fnetwork-bsd
     runhaskell Setup build
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script


More information about the arch-commits mailing list