[arch-commits] Commit in haskell-binary-instances/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 5 11:01:04 UTC 2020


    Date: Thursday, November 5, 2020 @ 11:01:04
  Author: felixonmars
Revision: 743077

upgpkg: haskell-binary-instances 1.0.1-1: rebuild with binary-instances 1.0.1

Modified:
  haskell-binary-instances/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-05 10:51:30 UTC (rev 743076)
+++ PKGBUILD	2020-11-05 11:01:04 UTC (rev 743077)
@@ -2,8 +2,8 @@
 
 _hkgname=binary-instances
 pkgname=haskell-binary-instances
-pkgver=1.0.0.1
-pkgrel=59
+pkgver=1.0.1
+pkgrel=1
 pkgdesc="Orphan instances for binary"
 url="https://github.com/phadej/binary-instances"
 license=('BSD')
@@ -15,13 +15,8 @@
 makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-tasty'
              'haskell-tasty-quickcheck')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('8933f2eab4a23460bd9be7547f229416adccb3e82ec452f75567fa5b5cb6babe4b7f243fbf3799099647bc4f890eaa1acc962128caa8caafc3ff724867585e3d')
+sha512sums=('8282c33d2f7c6dcbf991482c9ae23f316500a60f251e296f5e92488208eaf5f08460c379698bcebd707a61733a13a7b85601587bab4696a24d9ca56ffed1e66b')
 
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/< *2.14/<3/;s/< *1.3/<2/;s/< *1.5/<2/' $_hkgname.cabal
-}
-
 build() {
     cd $_hkgname-$pkgver
 
@@ -38,7 +33,7 @@
 check() {
     cd $_hkgname-$pkgver
     # https://github.com/phadej/binary-instances/issues/7
-    runhaskell Setup test || :
+    runhaskell Setup test || echo "Tests failed"
 }
 
 package() {



More information about the arch-commits mailing list