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

Felix Yan felixonmars at archlinux.org
Tue Jun 23 18:40:09 UTC 2020


    Date: Tuesday, June 23, 2020 @ 18:40:09
  Author: felixonmars
Revision: 651390

upgpkg: haskell-quickcheck 2.14-11: rebuild with splitmix 0.1

Modified:
  haskell-quickcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-23 18:26:39 UTC (rev 651389)
+++ PKGBUILD	2020-06-23 18:40:09 UTC (rev 651390)
@@ -5,7 +5,7 @@
 _hkgname=QuickCheck
 pkgname=haskell-quickcheck
 pkgver=2.14
-pkgrel=10
+pkgrel=11
 pkgdesc='Automatic testing of Haskell programs'
 url='https://hackage.haskell.org/package/QuickCheck'
 license=('BSD')
@@ -12,9 +12,16 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix')
 makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('400ec89b1852f2825eb1c6aadec9a3c5f8b284f12a6701277a6940bd7bf4560e635cea86eb6134e39be7c20b3afaa7c76e604c53249e7030bc47ee14099e6180')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz"
+        $_hkgname-splitmix-0.1.patch::https://github.com/nick8325/quickcheck/pull/299.patch)
+sha512sums=('400ec89b1852f2825eb1c6aadec9a3c5f8b284f12a6701277a6940bd7bf4560e635cea86eb6134e39be7c20b3afaa7c76e604c53249e7030bc47ee14099e6180'
+            'da77839ccb3a198e72f0ed2a26824de75ca0aba021f6034d29387f5ed782a4df183118750407b7048c3f79db9e8275210002c6e4f1d4a9cf23a66f30fecd8fb5')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  patch -p1 -i ../$_hkgname-splitmix-0.1.patch || :
+}
+
 build() {
   cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list