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

Felix Yan felixonmars at gemini.archlinux.org
Mon Mar 7 09:16:44 UTC 2022


    Date: Monday, March 7, 2022 @ 09:16:43
  Author: felixonmars
Revision: 1144164

upgpkg: haskell-random 1.2.1-59: rebuild with doctest 0.19.0

Modified:
  haskell-random/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-07 08:44:31 UTC (rev 1144163)
+++ PKGBUILD	2022-03-07 09:16:43 UTC (rev 1144164)
@@ -4,18 +4,23 @@
 _hkgname=random
 pkgname=haskell-random
 pkgver=1.2.1
-pkgrel=58
+pkgrel=59
 pkgdesc="Pseudo-random number generation"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-splitmix')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 checkdepends=('haskell-doctest' 'haskell-smallcheck' 'haskell-tasty' 'haskell-tasty-hunit'
               'haskell-tasty-inspection-testing' 'haskell-tasty-smallcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('b130a90981de53b4fc3e7cf660224268d24bcceb9498d33827d9f43dc705c9a724c23999c4cf0222127f4c69daebf0d049d963abbea0a860135d661f9cc55731')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    uusi -u doctest $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list