Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=cb340426fd8dfc3bd6520c70c141c63b5db6509a

commit cb340426fd8dfc3bd6520c70c141c63b5db6509a
Author: crazy <[email protected]>
Date:   Tue Aug 1 22:05:27 2017 +0200

rust-1.19.0-1-x86_64
* Version bump

diff --git a/source/devel/rust/FrugalBuild b/source/devel/rust/FrugalBuild
index 88dbe7a..1bf2de4 100644
--- a/source/devel/rust/FrugalBuild
+++ b/source/devel/rust/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: crazy <[email protected]>

pkgname=rust
-pkgver=1.18.0
+pkgver=1.19.0
pkgrel=1
pkgdesc="Programming language focused on safety, speed and concurrency"
url="https://www.rust-lang.org/";
@@ -12,7 +12,7 @@ groups=('devel')
archs=("x86_64")
up2date="lynx -dump https://www.rust-lang.org/en-US/other-installers.html | 
grep -m1 '\-src.tar.gz' | sed 's/.*rustc-\(.*\)-.*/\1/'"
source=(https://static.rust-lang.org/dist/rustc-${pkgver}-src.tar.gz)
-sha1sums=('1195775bea5c524d4033f03c7289b357d5dc4a84')
+sha1sums=('846b7a8ce1f33c3fc5e0d3b0b4258540515d67a9')
_F_cd_path="rustc-${pkgver}-src"
options+=('static' 'nostrip')
Fconfopts+="    --llvm-root=/usr \
@@ -30,10 +30,13 @@ _F_make_opts+=" VERBOSE=1"
RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"

build() {
-       Fcd
-       Fpatchall
-       Fmake
-       Fmakeinstall DESTDIR=$Fdestdir
+       Fcd
+       ## just ./configure part with F<....>
+       Fpatchall
+       Fconf
+       ## make && make install 'rust' way
+       Fexec python ./x.py build || Fdie
+       DESTDIR=$Fdestdir Fexec python ./x.py install || Fdie
}

# optimization ok
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to