[arch-commits] Commit in haskell-data-serializer/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Sep 22 19:11:04 UTC 2017


    Date: Friday, September 22, 2017 @ 19:11:03
  Author: felixonmars
Revision: 259763

upgpkg: haskell-data-serializer 0.3-22

Modified:
  haskell-data-serializer/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 19:10:45 UTC (rev 259762)
+++ PKGBUILD	2017-09-22 19:11:03 UTC (rev 259763)
@@ -4,7 +4,7 @@
 _hkgname=data-serializer
 pkgname=haskell-data-serializer
 pkgver=0.3
-pkgrel=21
+pkgrel=22
 pkgdesc="Common API for serialization libraries"
 url="https://github.com/mvv/data-serializer"
 license=('custom:BSD3')
@@ -12,12 +12,12 @@
 depends=('ghc-libs' 'haskell-cereal' 'haskell-data-endian' 'haskell-parsers' 'haskell-semigroups')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-md5sums=('a0117264354060402974f9f524844734')
+sha512sums=('7959312c1de72eb9390a8a9b99b481dc7f3800d2ae881fe08b536c20fff42d9b9b235e6d03a84563ea591a5bb167549bee11fb62afd6cd0905c6ed5966458060')
 
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -35,7 +35,4 @@
     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