[arch-commits] Commit in haskell-haddock-library/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 20:12:26 UTC 2018
Date: Friday, November 9, 2018 @ 20:12:26
Author: felixonmars
Revision: 404399
upgpkg: haskell-haddock-library 1.7.0-1
rebuild with pandoc 2.4, haddock-library 1.7.0
Modified:
haskell-haddock-library/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-09 20:12:23 UTC (rev 404398)
+++ PKGBUILD 2018-11-09 20:12:26 UTC (rev 404399)
@@ -2,8 +2,8 @@
_hkgname=haddock-library
pkgname=haskell-haddock-library
-pkgver=1.6.0
-pkgrel=23
+pkgver=1.7.0
+pkgrel=1
pkgdesc="A documentation-generation tool for Haskell libraries"
url="https://www.haskell.org/haddock/"
license=("custom:BSD3")
@@ -12,13 +12,8 @@
makedepends=('ghc' 'haskell-base-compat' 'haskell-hspec' 'haskell-hspec-discover'
'haskell-quickcheck' 'haskell-optparse-applicative' 'haskell-tree-diff')
source=("https://hackage.haskell.org/packages/archive/haddock-library/${pkgver}/haddock-library-${pkgver}.tar.gz")
-sha512sums=('e24906db32b740da99b048127e166ce57c0fd7bb14d8d6f34f4b94d8583387aa11b5cb6a734eddc91602037612b0fd725c95d2d37aca539c1be8dfd70d6e8a73')
+sha512sums=('ae4a3e2e02a866399623349c69b19738b371c574a72b2616f74c9b8fa2acdc04dfb20b7ef6cdd32709b474c0c99d27a49a810b7c58f68d8eb6bea7244323c30c')
-prepare() {
- cd $_hkgname-$pkgver
- sed -i -e 's/\^>=/>=/' -e 's/< *4.12/<5/' -e 's/< *0.6/<1/' $_hkgname.cabal
-}
-
build() {
cd $_hkgname-$pkgver
@@ -34,8 +29,7 @@
check() {
cd $_hkgname-$pkgver
- # TODO: doesn't look like my fault :/
- runhaskell Setup test || warning "Tests failed"
+ runhaskell Setup test
}
package() {
More information about the arch-commits
mailing list