[arch-commits] Commit in haskell-snap-server/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Mar 26 13:14:24 UTC 2021


    Date: Friday, March 26, 2021 @ 13:14:24
  Author: felixonmars
Revision: 904515

upgpkg: haskell-snap-server 1.1.2.0-131: rebuild with attoparsec 0.14.1

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-26 13:11:19 UTC (rev 904514)
+++ PKGBUILD	2021-03-26 13:14:24 UTC (rev 904515)
@@ -3,7 +3,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.2.0
-pkgrel=130
+pkgrel=131
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server"
 license=('BSD')
@@ -12,7 +12,7 @@
          'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 'haskell-lifted-base'
          'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 'haskell-unix-compat'
          'haskell-vector')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 'haskell-random'
               'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 'haskell-http-streams'
               'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
@@ -22,8 +22,8 @@
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i -e '/bytestring-builder/d' $_hkgname.cabal
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+    uusi -d bytestring-builder -u attoparsec $_hkgname.cabal
+    gen-setup
 }
 
 build() {



More information about the arch-commits mailing list