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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:48:32 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:48:31
  Author: felixonmars
Revision: 260162

upgpkg: haskell-language-python 0.5.4-4

Modified:
  haskell-language-python/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:48:21 UTC (rev 260161)
+++ PKGBUILD	2017-09-23 16:48:31 UTC (rev 260162)
@@ -5,7 +5,7 @@
 _hkgname=language-python
 pkgname=haskell-language-python
 pkgver=0.5.4
-pkgrel=3
+pkgrel=4
 pkgdesc="Parsing and pretty printing of Python code."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -14,8 +14,8 @@
 makedepends=('happy' 'alex' 'ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
         ghc-8.2.1.patch)
-sha256sums=('ba93508e5e7b6b3c881eb9b04f9032c2e8c5f20255d812a0a365eba82ffbf129'
-            '55474f71fe722cff4ea0b7bbc960c3c0074295804a6a520e8f3818c71d05f810')
+sha512sums=('adbe81eeb4a161c8e685c3dacdee0924f1193fa291a753e1608f0c94effc90b77df60fee1e46e791516d01ea0153f243c13fb2fdd24d688cfe9ce8ac9ed44059'
+            'ce812b6937158977a85c2b5c1118a79779570bd4023ac58b22d9e2960e24be98b107e733c3ed90ed9977d20e757d56c6e2e3ea48d473f3e6d42589fa2c8281ea')
 
 prepare() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
@@ -25,7 +25,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 \
             -fsplit-base
@@ -44,7 +44,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