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

Felix Yan felixonmars at archlinux.org
Tue Jul 14 12:35:38 UTC 2020


    Date: Tuesday, July 14, 2020 @ 12:35:38
  Author: felixonmars
Revision: 663742

upgpkg: haskell-language-python 0.5.8-1: rebuild with language-python 0.5.8

Modified:
  haskell-language-python/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-14 12:35:07 UTC (rev 663741)
+++ PKGBUILD	2020-07-14 12:35:38 UTC (rev 663742)
@@ -3,8 +3,8 @@
 
 _hkgname=language-python
 pkgname=haskell-language-python
-pkgver=0.5.6
-pkgrel=10
+pkgver=0.5.8
+pkgrel=1
 pkgdesc="Parsing and pretty printing of Python code."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("BSD")
@@ -12,13 +12,8 @@
 depends=('ghc-libs' 'haskell-monads-tf' 'haskell-utf8-string')
 makedepends=('happy' 'alex' 'ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('fe204e1247904b7ce82c9c587cfe14b965ea96e9ee448d27cc06ab27426c6a021e3b74bc388cf65a6b8998192ef938aa147d7818e208f9cac75901704411d915')
+sha512sums=('fa2d9c1a20460e38dcc370be60157090e7279386a4ebc0f4c4bac56fb3a8f65541c41fa789d2df31e385eeea3c05e2f84c44f77917379194eb4e29372ab4c20d')
 
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/== *0.5/==0.6/' $_hkgname.cabal
-}
-
 build() {
     cd $_hkgname-$pkgver
 
@@ -26,7 +21,7 @@
         --prefix=/usr --docdir=/usr/share/doc/$pkgname \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -fsplit-base
-    runhaskell Setup build
+    runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script
     sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh



More information about the arch-commits mailing list