[arch-commits] Commit in c2hs/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Mar 24 14:41:48 UTC 2022
Date: Thursday, March 24, 2022 @ 14:41:47
Author: felixonmars
Revision: 1174724
upgpkg: c2hs 0.28.8-66: rebuild with shelly 1.10.0
Modified:
c2hs/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-24 14:40:03 UTC (rev 1174723)
+++ PKGBUILD 2022-03-24 14:41:47 UTC (rev 1174724)
@@ -3,13 +3,13 @@
pkgname=c2hs
pkgver=0.28.8
-pkgrel=65
+pkgrel=66
pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
url="https://github.com/haskell/c2hs"
license=("GPL2")
arch=('x86_64')
depends=('ghc-libs' 'haskell-dlist' 'haskell-language-c')
-makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-hunit'
+makedepends=('ghc' 'uusi' 'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-hunit'
'haskell-shelly')
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
@@ -25,10 +25,12 @@
# https://github.com/haskell/c2hs/pull/266
cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 c2hs-$pkgver/tests/bugs/
cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible c2hs-$pkgver/tests/system/
+
+ uusi -u shelly c2hs-$pkgver/c2hs.cabal
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
--docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
More information about the arch-commits
mailing list