[arch-commits] Commit in haskell-dyre/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Mar 17 23:23:08 UTC 2021
Date: Wednesday, March 17, 2021 @ 23:23:07
Author: felixonmars
Revision: 894280
upgpkg: haskell-dyre 0.9.0-1
Modified:
haskell-dyre/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-17 23:01:34 UTC (rev 894279)
+++ PKGBUILD 2021-03-17 23:23:07 UTC (rev 894280)
@@ -2,18 +2,24 @@
_hkgname=dyre
pkgname=haskell-dyre
-pkgver=0.8.12
-pkgrel=9
+pkgver=0.9.0
+pkgrel=1
pkgdesc="Dynamic reconfiguration in Haskell"
url="https://github.com/willdonnelly/dyre"
license=('BSD')
arch=('x86_64')
-depends=('ghc-libs' 'haskell-ghc-paths' 'haskell-executable-path' 'haskell-xdg-basedir'
- 'haskell-io-storage')
+depends=('ghc-libs' 'haskell-executable-path' 'haskell-xdg-basedir' 'haskell-io-storage')
makedepends=('ghc')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('157f1d20dd7a0bbad46044722a4d0e291df09dede715417cf20b18391cb13b52fc25486f99d604d3c279a3f86fc3fc405466099e995190fcbe8aad3cbdb1220e')
+sha512sums=('9dbd90799ce1076432d968f545f2b9a49f5b32d710752236e63a2b3310e4c697d7624bd22dee445ad932bef94fe14a99737caaa090ce526a66e3b8295cf587e9')
+prepare() {
+ cd $_hkgname-$pkgver
+ # Not sure why the ln here is needed, but this makes the test suite find dyre itself...
+ sed -i 's/\$HC/$HC -dynamic/;/\$HC/i cp -r ../../../Config .' Tests/*/runTest.sh
+ sed -i 's/"-v0"/"-v0", "-dynamic"/' Config/Dyre/Compile.hs
+}
+
build() {
cd $_hkgname-$pkgver
More information about the arch-commits
mailing list