[arch-commits] Commit in haskell-glob/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 05:23:50 UTC 2017
Date: Friday, June 16, 2017 @ 05:23:50
Author: felixonmars
Revision: 237469
upgpkg: haskell-glob 0.7.14-2
rebuild with ghc,8.0.2
Modified:
haskell-glob/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 05:22:08 UTC (rev 237468)
+++ PKGBUILD 2017-06-16 05:23:50 UTC (rev 237469)
@@ -5,12 +5,12 @@
_hkgname=Glob
pkgname=haskell-glob
pkgver=0.7.14
-pkgrel=1
+pkgrel=2
pkgdesc="Globbing library"
url="http://iki.fi/matti.niemenmaa/glob/"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-dlist" "haskell-transformers-compat")
+depends=("ghc" "haskell-dlist" "haskell-transformers-compat")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('2837b88916e8ba4314fdbb556de8b0e7f577b848d3e80a08959b6ef47e1c842b')
@@ -17,7 +17,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
runhaskell Setup build
@@ -38,4 +38,7 @@
runhaskell Setup copy --destdir="${pkgdir}"
install -D -m644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list