[arch-commits] Commit in haskell-magic/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 18 11:27:08 UTC 2017
Date: Sunday, June 18, 2017 @ 11:27:07
Author: felixonmars
Revision: 238038
upgpkg: haskell-magic 1.1-3
rebuild with ghc,8.0.2
Modified:
haskell-magic/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-18 11:17:50 UTC (rev 238037)
+++ PKGBUILD 2017-06-18 11:27:07 UTC (rev 238038)
@@ -5,12 +5,12 @@
_hkgname=magic
pkgname=haskell-magic
pkgver=1.1
-pkgrel=2
+pkgrel=3
pkgdesc="Interface to C file/magic library"
url="https://hackage.haskell.org/package/magic"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "file")
+depends=("ghc" "file")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('b21c3b69f57b64199c1d7be0ac8ea1d02d698be59943058f6a2d642ea57ce082')
@@ -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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list