[arch-commits] Commit in haskell-validation-selective/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Feb 15 15:34:31 UTC 2021
Date: Monday, February 15, 2021 @ 15:34:31
Author: felixonmars
Revision: 861257
upgpkg: haskell-validation-selective 0.1.0.0-60: rebuild with doctest 0.18
Modified:
haskell-validation-selective/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-15 15:34:02 UTC (rev 861256)
+++ PKGBUILD 2021-02-15 15:34:31 UTC (rev 861257)
@@ -4,20 +4,20 @@
_hkgname=validation-selective
pkgname=haskell-validation-selective
pkgver=0.1.0.0
-pkgrel=59
+pkgrel=60
pkgdesc="Lighweight pure data validation based on Applicative and Selective functors."
url="https://github.com/kowainik/validation-selective"
license=('MPL2')
arch=('x86_64')
depends=('ghc-libs' 'haskell-selective')
-makedepends=('ghc' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 'haskell-hspec-hedgehog')
+makedepends=('ghc' 'uusi' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 'haskell-hspec-hedgehog')
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
sha256sums=('c7d9cb37649ff7dddfa7c97e882d86b2f2edd646ce9fa42d50f78c1098784345')
prepare(){
cd $_hkgname-$pkgver
- echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
- sed -i 's/ ^>= 0.16/ ^>= 0.17/' $_hkgname.cabal
+ gen-setup
+ uusi -u doctest $_hkgname.cabal
}
build() {
More information about the arch-commits
mailing list