nim: update to 0.14.0
This commit is contained in:
parent
feef52067d
commit
a4afbb2613
1 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'nim'
|
# Template file for 'nim'
|
||||||
pkgname=nim
|
pkgname=nim
|
||||||
version=0.13.0
|
version=0.14.0
|
||||||
revision=1
|
revision=1
|
||||||
|
_cversion=0.13.0
|
||||||
depends="gcc"
|
depends="gcc"
|
||||||
hostmakedepends="ed"
|
hostmakedepends="ed"
|
||||||
short_desc="The Nim programming language"
|
short_desc="The Nim programming language"
|
||||||
|
@ -9,15 +10,15 @@ maintainer="allan <mail@may.mooo.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://nim-lang.org/"
|
homepage="http://nim-lang.org/"
|
||||||
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
|
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
|
||||||
https://github.com/nim-lang/csources/archive/v${version}.tar.gz>csources.tar.gz"
|
https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz>csources.tar.gz"
|
||||||
checksum="52ccb73986faadb1abbf0d216cea95cf7d2f11ebed0b39e57150fe0c5be25ccf
|
checksum="b85f370e00d9fd2f3d53a3a2caa9b940fb858ff6937f737ad815be37077f432b
|
||||||
fe6aee48c5c2585eea14a7cb338bd3766e3d104a22195a79a53c35c8de371f64"
|
fe6aee48c5c2585eea14a7cb338bd3766e3d104a22195a79a53c35c8de371f64"
|
||||||
build_wrksrc=Nim-$version
|
build_wrksrc=Nim-$version
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
mv csources-$version $build_wrksrc/csources
|
mv csources-$_cversion $build_wrksrc/csources
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
@ -42,6 +43,7 @@ do_build() {
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
./koch install ${DESTDIR}/usr/lib
|
./koch install ${DESTDIR}/usr/lib
|
||||||
|
rm -rf ${DESTDIR}/usr/lib/nim/compiler/nim{,0,1,2,cache}
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
mv compiler/nim ${DESTDIR}/usr/lib/nim/bin/nim
|
mv compiler/nim ${DESTDIR}/usr/lib/nim/bin/nim
|
||||||
|
|
Loading…
Add table
Reference in a new issue