[arch-commits] Commit in haskell-test-framework-hunit/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jun 17 14:35:48 UTC 2017
Date: Saturday, June 17, 2017 @ 14:35:47
Author: felixonmars
Revision: 237898
upgpkg: haskell-test-framework-hunit 0.3.0.2-13
rebuild with ghc,8.0.2
Modified:
haskell-test-framework-hunit/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-17 14:32:38 UTC (rev 237897)
+++ PKGBUILD 2017-06-17 14:35:47 UTC (rev 237898)
@@ -5,12 +5,12 @@
_hkgname=test-framework-hunit
pkgname=haskell-test-framework-hunit
pkgver=0.3.0.2
-pkgrel=12
+pkgrel=13
pkgdesc="HUnit support for the test-framework package."
url="https://batterseapower.github.io/test-framework/"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-hunit" "haskell-extensible-exceptions" "haskell-test-framework")
+depends=("ghc" "haskell-hunit" "haskell-extensible-exceptions" "haskell-test-framework")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('95cb8ee02a850b164bfdabdf4dbc839d621361f3ac770ad21ea43a8bde360bf8')
@@ -21,7 +21,7 @@
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
--libsubdir=\$compiler/site-local/\$pkgid \
-f-base3 -fbase4
@@ -43,4 +43,7 @@
runhaskell Setup copy --destdir="${pkgdir}"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list