nim: use http instead of git.
This commit is contained in:
parent
1df203767e
commit
530b36f487
1 changed files with 6 additions and 8 deletions
|
@ -1,6 +1,8 @@
|
||||||
# Template file for 'nim'
|
# Template file for 'nim'
|
||||||
pkgname=nim
|
pkgname=nim
|
||||||
version=0.11.2
|
version=0.11.2
|
||||||
|
# version of the c-bootstrapping code
|
||||||
|
_cversion=0.9.4
|
||||||
revision=1
|
revision=1
|
||||||
depends="gcc"
|
depends="gcc"
|
||||||
hostmakedepends="libzip git ed"
|
hostmakedepends="libzip git ed"
|
||||||
|
@ -8,16 +10,12 @@ 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/Araq/Nim/archive/v${version}.tar.gz
|
||||||
checksum=8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6
|
https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz"
|
||||||
|
checksum="8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6
|
||||||
|
e0b1a2d36e05dfea29948a76bdb052de183dd9bd99a8fecf0fce9ddad00476c4"
|
||||||
wrksrc=Nim-$version
|
wrksrc=Nim-$version
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
cd $wrksrc
|
|
||||||
test -d csources ||
|
|
||||||
git clone --depth=1 https://github.com/nim-lang/csources
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*)
|
arm*)
|
||||||
|
|
Loading…
Reference in a new issue