nim: add distfiles+checksum
This commit is contained in:
parent
74b049f289
commit
d9b2912b6a
1 changed files with 8 additions and 6 deletions
|
@ -1,21 +1,23 @@
|
||||||
# Template file for 'nim'
|
# Template file for 'nim'
|
||||||
pkgname=nim
|
pkgname=nim
|
||||||
version=0.11.2
|
version=0.11.2
|
||||||
revision=1
|
revision=2
|
||||||
|
_csources_commit=c2c13f5a60dc635d1a9746e630cfb127348430cb
|
||||||
depends="gcc"
|
depends="gcc"
|
||||||
hostmakedepends="libzip git ed"
|
hostmakedepends="libzip ed"
|
||||||
short_desc="The Nim programming language"
|
short_desc="The Nim programming language"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://nim-lang.org/"
|
homepage="http://nim-lang.org/"
|
||||||
distfiles="https://github.com/Araq/Nim/archive/v${version}.tar.gz"
|
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
|
||||||
checksum=8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6
|
http://github.com/nim-lang/csources/archive/$_csources_commit.tar.gz"
|
||||||
|
checksum="8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6
|
||||||
|
876d730d2a7c034b82626d892c65e1b26caa30bc4471c40067a56dc4404a2cfd"
|
||||||
wrksrc=Nim-$version
|
wrksrc=Nim-$version
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
cd $wrksrc
|
cd $wrksrc
|
||||||
test -d csources ||
|
test -d csources || cp -r ../csources-$_csources_commit csources
|
||||||
git clone --depth=1 https://github.com/nim-lang/csources
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue