[arch-commits] Commit in haskell-mime-types/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Sep 22 15:57:09 UTC 2017


    Date: Friday, September 22, 2017 @ 15:57:09
  Author: felixonmars
Revision: 259578

upgpkg: haskell-mime-types 0.1.0.7-6

Modified:
  haskell-mime-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 15:56:52 UTC (rev 259577)
+++ PKGBUILD	2017-09-22 15:57:09 UTC (rev 259578)
@@ -6,7 +6,7 @@
 _hkgname=mime-types
 pkgname=haskell-mime-types
 pkgver=0.1.0.7
-pkgrel=5
+pkgrel=6
 pkgdesc="Basic mime-type handling types and functions"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('MIT')
@@ -14,11 +14,11 @@
 depends=('ghc-libs' 'haskell-text')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('029c565c7ea4da4467a76180fe03743a')
+sha512sums=('411bc4cbb471a0f520413831e7613ede6a2f326120adba1f8acc92b12f2eb241e12323cc68d3ea829e26009b8d7728bf26b0a634b9c672c88345a6a2cc94cd8a')
 
 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 -fnetwork-uri
     runhaskell Setup build
@@ -36,7 +36,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