[arch-commits] Commit in idris/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 27 05:44:39 UTC 2017
Date: Monday, March 27, 2017 @ 05:44:38
Author: felixonmars
Revision: 219287
upgpkg: idris 0.99.2-1
rebuild with ieee754,0.8.0 idris,0.99.2
Modified:
idris/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-27 04:55:23 UTC (rev 219286)
+++ PKGBUILD 2017-03-27 05:44:38 UTC (rev 219287)
@@ -3,14 +3,14 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
pkgname=idris
-pkgver=0.99.1
-pkgrel=7
+pkgver=0.99.2
+pkgrel=1
pkgdesc="Functional Programming Language with Dependent Types"
url="http://www.idris-lang.org/"
license=("custom:BSD3")
arch=('i686' 'x86_64')
depends=('gmp' 'libffi' 'zlib' 'gcc')
-makedepends=("ghc=8.0.1" "git" "haskell-aeson" "haskell-annotated-wl-pprint" "haskell-ansi-terminal"
+makedepends=("ghc=8.0.1" "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-mtl"
@@ -19,18 +19,14 @@
"haskell-text" "haskell-transformers-compat" "haskell-trifecta" "haskell-uniplate"
"haskell-unordered-containers" "haskell-utf8-string" "haskell-vector"
"haskell-vector-binary-instances" "haskell-zip-archive")
-source=("git+https://github.com/idris-lang/Idris-dev.git#tag=v$pkgver")
-sha256sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz")
+sha512sums=('c59968429de3c846034d078bebb7200e745d143d8c17d8b770ff3b6ac7a00aba855ad6add35a5c7e93d3f89d6041a083b0dfc1b3241f28936bf654c21144468e')
-prepare() {
- sed -i 's/, safe == 0.3.9/, safe >= 0.3.9/' Idris-dev/${pkgname}.cabal
-}
-
build() {
- cd "${srcdir}/Idris-dev"
+ cd "$srcdir"/Idris-dev-$pkgver
runhaskell Setup configure -O --enable-library-profiling --enable-shared \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+ --prefix=/usr --docdir="/usr/share/doc/$pkgname" --datasubdir="$pkgname" \
--libsubdir=\$compiler/site-local/\$pkgid \
-fFFI -fGMP -frelease -f-freestanding -f-CI -f-execonly
LC_CTYPE=en_US.UTF-8 runhaskell Setup build
@@ -37,7 +33,7 @@
}
package() {
- cd "${srcdir}/Idris-dev"
- runhaskell Setup copy --destdir="${pkgdir}"
+ cd "$srcdir"/Idris-dev-$pkgver
+ runhaskell Setup copy --destdir="$pkgdir"
rm -r "$pkgdir"/usr/{lib,share/doc}
}
More information about the arch-commits
mailing list