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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:06:56 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:06:55
  Author: felixonmars
Revision: 260080

upgpkg: haskell-libffi 0.1-5

Modified:
  haskell-libffi/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:06:41 UTC (rev 260079)
+++ PKGBUILD	2017-09-23 16:06:55 UTC (rev 260080)
@@ -5,7 +5,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=4
+pkgrel=5
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('48387067c0f33bcfadf7a3bebbf48a55294202500f2b754229ffc8f12cb4f23c')
+sha512sums=('ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3')
 
 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
@@ -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