Date: Thursday, December 1, 2022 @ 15:21:05
  Author: felixonmars
Revision: 1355622

upgpkg: haskell-streams 3.3.1-1

Modified:
  haskell-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-01 15:17:50 UTC (rev 1355621)
+++ PKGBUILD    2022-12-01 15:21:05 UTC (rev 1355622)
@@ -2,23 +2,18 @@
 
 _hkgname=streams
 pkgname=haskell-streams
-pkgver=3.3
-pkgrel=129
+pkgver=3.3.1
+pkgrel=1
 pkgdesc="Various Haskell 2010 stream comonads"
 url="https://github.com/ekmett/streams";
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-adjunctions' 'haskell-comonad' 
'haskell-distributive'
+depends=('ghc-libs' 'haskell-adjunctions' 'haskell-boring' 'haskell-comonad' 
'haskell-distributive'
          'haskell-semigroupoids')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha256sums=('2933f80d6a83fed326af5588b0cce93985b07233359c311bd69c5bac19954e40')
+sha256sums=('2f324e36e187b14905ac239196f8fd7e12f3b47fb02503518550b22b9c7d4f85')
 
-prepare() {
-  cd $_hkgname-$pkgver
-  uusi -d semigroups $_hkgname.cabal
-}
-
 build() {
   cd $_hkgname-$pkgver
 
@@ -35,6 +30,11 @@
   sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
 package() {
   cd $_hkgname-$pkgver
 

Reply via email to