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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 15:34:37 UTC 2017


    Date: Saturday, September 23, 2017 @ 15:34:36
  Author: felixonmars
Revision: 260032

upgpkg: haskell-reflection 2.1.2-5

Modified:
  haskell-reflection/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 15:34:26 UTC (rev 260031)
+++ PKGBUILD	2017-09-23 15:34:36 UTC (rev 260032)
@@ -5,20 +5,20 @@
 _hkgname=reflection
 pkgname=haskell-reflection
 pkgver=2.1.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Reifies arbitrary terms into types that can be reflected back into terms"
-url="http://github.com/ekmett/reflection"
+url="https://github.com/ekmett/reflection"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('a909882c04b24016bedb85587c09f23cf06bad71a2b1f7e781e89abaa6023c39')
+sha512sums=('759ad3afa304adc1ca0509450429946d3f6f7a89c98344ba9bceedf2352e4c89a0d5ab00feb2e5f1e17d062c43c7673fe119e4f4ac61fcebb83f9b21c180e06d')
 
 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 \
             -ftemplate-haskell -f-slow
@@ -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