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

Felix Yan felixonmars at archlinux.org
Tue May 22 11:13:21 UTC 2018


    Date: Tuesday, May 22, 2018 @ 11:13:20
  Author: felixonmars
Revision: 326904

upgpkg: idris 1.2.0.20180517-1

Modified:
  idris/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-22 11:06:26 UTC (rev 326903)
+++ PKGBUILD	2018-05-22 11:13:20 UTC (rev 326904)
@@ -3,8 +3,9 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 
 pkgname=idris
-pkgver=1.2.0
-pkgrel=68
+pkgver=1.2.0.20180517
+_commit=88f5c717d8702698dc3c46f32bc4def1a70e6476
+pkgrel=1
 pkgdesc="Functional Programming Language with Dependent Types"
 url="http://www.idris-lang.org/"
 license=("custom:BSD3")
@@ -12,21 +13,23 @@
 depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 'haskell-ansi-terminal'
          'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 'haskell-blaze-html'
          'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 'haskell-fingertree'
-         'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 'haskell-megaparsec' 'haskell-mtl'
+         'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 'haskell-megaparsec'
          'haskell-network' 'haskell-optparse-applicative' 'haskell-regex-tdfa' 'haskell-safe'
-         'haskell-split' 'haskell-terminal-size' 'haskell-text' 'haskell-uniplate'
-         'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector'
-         'haskell-vector-binary-instances' 'haskell-zip-archive')
+         'haskell-split' 'haskell-terminal-size' 'haskell-uniplate' 'haskell-unordered-containers'
+         'haskell-utf8-string' 'haskell-vector' 'haskell-vector-binary-instances'
+         'haskell-zip-archive')
 makedepends=('ghc' 'haskell-tagged' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-rerun'
              'nodejs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz")
-sha512sums=('ad9a1266c689fb961eb05ab295ea23029dfb85c3de190905b482afa0bca8ba0e7a69d1093a5e7fcd648d6fb1e2daeceb2d3f70562032c7857d081e0442ccf0cf')
+source=("$pkgname-$_commit.tar.gz::https://github.com/idris-lang/Idris-dev/archive/$_commit.tar.gz")
+sha512sums=('ea6cf76b3af6cb6db9ce266b1934bb8c8ad5848498d14bb4dbfff9038acd55315ebc638e83277eb9aa3b637d7ed2fbecebddf023e5d370baf2c3501ada66aa89')
 
 prepare() {
+    mv Idris-dev-{$_commit,$pkgver}
     cd Idris-dev-$pkgver
 
     sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls ../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
         libs/*/Makefile
+    sed -i 's/<.*1.3/<2/' idris.cabal
 }
 
 build() {
@@ -35,7 +38,7 @@
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -fFFI -fGMP -frelease -f-freestanding -f-CI -f-execonly
+            -fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly
     LC_CTYPE=en_US.UTF-8 runhaskell Setup build
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script



More information about the arch-commits mailing list