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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 15:30:36 UTC 2017


    Date: Saturday, September 23, 2017 @ 15:30:35
  Author: felixonmars
Revision: 260024

upgpkg: haskell-newtype 0.2-4

Modified:
  haskell-newtype/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 15:30:21 UTC (rev 260023)
+++ PKGBUILD	2017-09-23 15:30:35 UTC (rev 260024)
@@ -4,7 +4,7 @@
 _hkgname=newtype
 pkgname=haskell-newtype
 pkgver=0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A typeclass and set of functions for working with newtypes"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -12,12 +12,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('fa44f4e2c6fdc3e356bd5c4a938559b2')
+sha512sums=('9f5115df618223b5acf81ef7d15dc95db5930b39863ee89e2613500bd5a5b4cf421510a4330bbe77d7c456b56f4e93072b53fe31aec2f4dbebd966b80f667958')
 
 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