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

Felix Yan felixonmars at archlinux.org
Thu Sep 21 14:29:49 UTC 2017


    Date: Thursday, September 21, 2017 @ 14:29:48
  Author: felixonmars
Revision: 259177

upgpkg: haskell-hpack 0.18.1-4

rebuild with aeson,1.2.2.0

Modified:
  haskell-hpack/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-21 14:27:55 UTC (rev 259176)
+++ PKGBUILD	2017-09-21 14:29:48 UTC (rev 259177)
@@ -6,7 +6,7 @@
 pkgname=haskell-hpack
 _hkgname=hpack
 pkgver=0.18.1
-pkgrel=3
+pkgrel=4
 pkgdesc="An alternative format for Haskell packages"
 url="https://github.com/sol/hpack#readme"
 license=("MIT")
@@ -19,7 +19,7 @@
 
 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
@@ -37,7 +37,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