From 530b36f4871808584287c7122e6eb2034ff0a4cf Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 25 Jul 2015 22:30:55 +0200 Subject: [PATCH] nim: use http instead of git. --- srcpkgs/nim/template | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template index 6eda0dc8aa..0f3816fa22 100644 --- a/srcpkgs/nim/template +++ b/srcpkgs/nim/template @@ -1,6 +1,8 @@ # Template file for 'nim' pkgname=nim version=0.11.2 +# version of the c-bootstrapping code +_cversion=0.9.4 revision=1 depends="gcc" hostmakedepends="libzip git ed" @@ -8,16 +10,12 @@ short_desc="The Nim programming language" maintainer="allan " license="MIT" homepage="http://nim-lang.org/" -distfiles="https://github.com/Araq/Nim/archive/v${version}.tar.gz" -checksum=8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6 +distfiles="https://github.com/Araq/Nim/archive/v${version}.tar.gz + https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz" +checksum="8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6 + e0b1a2d36e05dfea29948a76bdb052de183dd9bd99a8fecf0fce9ddad00476c4" wrksrc=Nim-$version -post_extract() { - cd $wrksrc - test -d csources || - git clone --depth=1 https://github.com/nim-lang/csources -} - do_build() { case "$XBPS_TARGET_MACHINE" in arm*)