Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:denkad
rust
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package rust
# $Id: PKGBUILD 182595 2016-07-09 19:28:13Z arodseth $ # Maintainer: Alexander F Rødseth <xyproto@archlinux.org> # Contributor: Daniel Micay <danielmicay@gmail.com> pkgname=rust epoch=1 pkgver=1.10.0 pkgrel=1 arch=('x86_64' 'i686') pkgdesc='Systems programming language focused on safety, speed and concurrency' url='http://www.rust-lang.org/' license=('MIT' 'Apache') makedepends=('libffi' 'perl' 'python2' 'curl' 'jemalloc') source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz") sha256sums=('a4015aacf4f6d8a8239253c4da46e7abaa8584f8214d1828d2ff0a8f56176869') options=('staticlibs' '!strip') #gpg --keyserver hkp://keys.gnupg.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE build() { cd "rustc-$pkgver" ./configure --prefix=/usr --disable-docs --release-channel=stable make CFLAGS="$CFLAGS -fPIC -w" } package() { cd "rustc-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 LICENSE-APACHE \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE" install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT" cd "$pkgdir/usr/lib" rm rustlib/{components,manifest-rustc,rust-installer-version} ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . } # vim:set ts=2 sw=2 et:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor