Date: Friday, June 16, 2017 @ 18:08:56 Author: felixonmars Revision: 237789
upgpkg: haskell-edisonapi 1.3.1-2 rebuild with ghc,8.0.2 Modified: haskell-edisonapi/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 18:08:51 UTC (rev 237788) +++ PKGBUILD 2017-06-16 18:08:56 UTC (rev 237789) @@ -5,12 +5,12 @@ _hkgname=EdisonAPI pkgname=haskell-edisonapi pkgver=1.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="A library of efficient, purely-functional data structures (API)" url="http://rwd.rdockins.name/edison/home/" license=("MIT") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-mtl") +depends=("ghc" "haskell-mtl") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('95a3b8d01599520a50456219b5a2e9f7832bcddaaeb8e94ce777bd87a4a6b56e') @@ -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 "COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }
