[arch-commits] Commit in haskell-asn1-types/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 14 19:49:53 UTC 2017
Date: Wednesday, June 14, 2017 @ 19:49:53
Author: felixonmars
Revision: 236841
upgpkg: haskell-asn1-types 0.3.2-18
rebuild with ghc,8.0.2
Modified:
haskell-asn1-types/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-14 19:48:22 UTC (rev 236840)
+++ PKGBUILD 2017-06-14 19:49:53 UTC (rev 236841)
@@ -5,12 +5,12 @@
_hkgname=asn1-types
pkgname=haskell-asn1-types
pkgver=0.3.2
-pkgrel=17
+pkgrel=18
pkgdesc="ASN.1 types"
url="http://github.com/vincenthz/hs-asn1-types"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-hourglass" "haskell-memory")
+depends=("ghc" "haskell-hourglass" "haskell-memory")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('0c571fff4a10559c6a630d4851ba3cdf1d558185ce3dcfca1136f9883d647217')
@@ -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" "${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