diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template index 5c349b195b4..84c7c9e9eef 100644 --- a/srcpkgs/nim/template +++ b/srcpkgs/nim/template @@ -1,8 +1,7 @@ # Template file for 'nim' pkgname=nim -version=0.12.0 +version=0.13.0 revision=1 -_csources_commit=c2c13f5a60dc635d1a9746e630cfb127348430cb depends="gcc" hostmakedepends="ed" short_desc="The Nim programming language" @@ -10,14 +9,14 @@ maintainer="allan " license="MIT" homepage="http://nim-lang.org/" distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz - http://github.com/nim-lang/csources/archive/$_csources_commit.tar.gz" -checksum="52e57ad9221e6223e53f612a93046ef9287d92619411ac57a7237dadbf7172bd - 876d730d2a7c034b82626d892c65e1b26caa30bc4471c40067a56dc4404a2cfd" -wrksrc=Nim-$version + https://github.com/nim-lang/csources/archive/v${version}.tar.gz>csources.tar.gz" +checksum="52ccb73986faadb1abbf0d216cea95cf7d2f11ebed0b39e57150fe0c5be25ccf + fe6aee48c5c2585eea14a7cb338bd3766e3d104a22195a79a53c35c8de371f64" +build_wrksrc=Nim-$version +create_wrksrc=yes post_extract() { - cd $wrksrc - test -d csources || cp -r ../csources-$_csources_commit csources + mv csources-$version $build_wrksrc/csources } do_build() {