Date: Thursday, June 15, 2017 @ 19:05:49 Author: felixonmars Revision: 237369
upgpkg: haskell-safecopy 0.9.3.2-3 rebuild with ghc,8.0.2 Modified: haskell-safecopy/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 19:03:58 UTC (rev 237368) +++ PKGBUILD 2017-06-15 19:05:49 UTC (rev 237369) @@ -4,12 +4,12 @@ _hkgname=safecopy pkgname=haskell-safecopy pkgver=0.9.3.2 -pkgrel=2 +pkgrel=3 pkgdesc="Binary serialization with version control." url="http://acid-state.seize.it/safecopy" license=('custom:PublicDomain') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-cereal' 'haskell-old-time' 'haskell-text' 'haskell-vector') +depends=('ghc' 'haskell-cereal' 'haskell-old-time' 'haskell-text' 'haskell-vector') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('d4dca927b5e6ab78e4548db550c416314507d11e4403a41dc1643e52319a2d397bc1fe8ea6c78b8d2fdaa3bca05603222380dc1a4ad1d956aeacc98919a35943') @@ -16,7 +16,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 @@ -35,4 +35,7 @@ install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" runhaskell Setup copy --destdir="${pkgdir}" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }
