Date: Monday, February 23, 2015 @ 23:33:53 Author: anatolik Revision: 128160
archrelease: copy trunk to community-i686, community-x86_64 Added: rust/repos/community-i686/PKGBUILD (from rev 128159, rust/trunk/PKGBUILD) rust/repos/community-i686/rust.install (from rev 128159, rust/trunk/rust.install) rust/repos/community-x86_64/PKGBUILD (from rev 128159, rust/trunk/PKGBUILD) rust/repos/community-x86_64/rust.install (from rev 128159, rust/trunk/rust.install) Deleted: rust/repos/community-i686/PKGBUILD rust/repos/community-i686/rust.install rust/repos/community-x86_64/PKGBUILD rust/repos/community-x86_64/rust.install -------------------------------+ /PKGBUILD | 96 ++++++++++++++++++++++++++++++++++++++++ /rust.install | 26 ++++++++++ community-i686/PKGBUILD | 64 -------------------------- community-i686/rust.install | 13 ----- community-x86_64/PKGBUILD | 64 -------------------------- community-x86_64/rust.install | 13 ----- 6 files changed, 122 insertions(+), 154 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2015-02-23 22:32:04 UTC (rev 128159) +++ community-i686/PKGBUILD 2015-02-23 22:33:53 UTC (rev 128160) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Daniel Micay <danielmi...@gmail.com> - -pkgname=rust -_pkgver=1.0.0-alpha -pkgver=1.0.0.alpha -pkgrel=3 -arch=(i686 x86_64) -pkgdesc='A safe, concurrent, practical language' -url='http://www.rust-lang.org/' -license=(MIT Apache) -depends=(gcc) -makedepends=(libffi perl python2 curl) -checkdepends=(git valgrind) -source=(http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz{,.asc}) -sha256sums=('3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c' - 'SKIP') -install=rust.install -options=(staticlibs) -validpgpkeys=(108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE) # Rust Language (Tag and Release Signing Key) <rust-...@rust-lang.org> - -build() { - cd rustc-$_pkgver - - ./configure --prefix=/usr --disable-debug --disable-docs --disable-verify-install - - # avoid python makedepend (force fallback to python2) - sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules - - make -} - -check() { - cd rustc-$_pkgver - #make check -} - -package() { - cd rustc-$_pkgver - make DESTDIR="$pkgdir" install - - mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/$pkgname" - - cp -a src/etc/vim "$pkgdir/usr/share/vim/vimfiles" - find "$pkgdir/usr/share/vim" -type f -exec chmod 644 {} + - find "$pkgdir/usr/share/vim" -type d -exec chmod 755 {} + - - install -Dm644 src/etc/zsh/_rust "$pkgdir/usr/share/zsh/site-functions/_rust" - install -Dm644 src/etc/kate/rust.xml "$pkgdir/usr/share/apps/katepart/syntax/rust.xml" - install -Dm644 src/etc/gedit/share/mime/packages/rust.xml \ - "$pkgdir/usr/share/mime/packages/rust.xml" - install -Dm644 src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang \ - "$pkgdir/usr/share/gtksourceview-3.0/language-specs/rust.lang" - - install -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname" - install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname" - - cd src/etc/emacs - install -Dm644 rust-mode.el "$pkgdir/usr/share/emacs/site-lisp/rust-mode.el" - - cd "$pkgdir/usr/lib" - rm rustlib/{components,manifest-rustc,rust-installer-version} - ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . -} Copied: rust/repos/community-i686/PKGBUILD (from rev 128159, rust/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-02-23 22:33:53 UTC (rev 128160) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Daniel Micay <danielmi...@gmail.com> + +pkgname=rust +_pkgver=1.0.0-alpha.2 +pkgver=1.0.0.alpha.2 +pkgrel=1 +arch=(i686 x86_64) +pkgdesc='A safe, concurrent, practical language' +url='http://www.rust-lang.org/' +license=(MIT Apache) +depends=(gcc) +makedepends=(libffi perl python2 curl) +checkdepends=(git valgrind) +source=(http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz{,.asc}) +sha256sums=('a931b945e98f409df68fdff23e98b688024461c28901106896e73708381956c8' + 'SKIP') +install=rust.install +options=(staticlibs) +validpgpkeys=(108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE) # Rust Language (Tag and Release Signing Key) <rust-...@rust-lang.org> + +build() { + cd rustc-$_pkgver + + ./configure --prefix=/usr --disable-debug --disable-docs --disable-verify-install + + # avoid python makedepend (force fallback to python2) + sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules + + make +} + +check() { + cd rustc-$_pkgver + #make check +} + +package() { + cd rustc-$_pkgver + make DESTDIR="$pkgdir" install + + install -D -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE" + install -D -m644 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 . +} Deleted: community-i686/rust.install =================================================================== --- community-i686/rust.install 2015-02-23 22:32:04 UTC (rev 128159) +++ community-i686/rust.install 2015-02-23 22:33:53 UTC (rev 128160) @@ -1,13 +0,0 @@ -post_install() { - if type -P update-mime-database &> /dev/null; then - update-mime-database usr/share/mime >/dev/null - fi -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: rust/repos/community-i686/rust.install (from rev 128159, rust/trunk/rust.install) =================================================================== --- community-i686/rust.install (rev 0) +++ community-i686/rust.install 2015-02-23 22:33:53 UTC (rev 128160) @@ -0,0 +1,13 @@ +post_install() { + if type -P update-mime-database &> /dev/null; then + update-mime-database usr/share/mime >/dev/null + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2015-02-23 22:32:04 UTC (rev 128159) +++ community-x86_64/PKGBUILD 2015-02-23 22:33:53 UTC (rev 128160) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Daniel Micay <danielmi...@gmail.com> - -pkgname=rust -_pkgver=1.0.0-alpha -pkgver=1.0.0.alpha -pkgrel=3 -arch=(i686 x86_64) -pkgdesc='A safe, concurrent, practical language' -url='http://www.rust-lang.org/' -license=(MIT Apache) -depends=(gcc) -makedepends=(libffi perl python2 curl) -checkdepends=(git valgrind) -source=(http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz{,.asc}) -sha256sums=('3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c' - 'SKIP') -install=rust.install -options=(staticlibs) -validpgpkeys=(108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE) # Rust Language (Tag and Release Signing Key) <rust-...@rust-lang.org> - -build() { - cd rustc-$_pkgver - - ./configure --prefix=/usr --disable-debug --disable-docs --disable-verify-install - - # avoid python makedepend (force fallback to python2) - sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules - - make -} - -check() { - cd rustc-$_pkgver - #make check -} - -package() { - cd rustc-$_pkgver - make DESTDIR="$pkgdir" install - - mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/$pkgname" - - cp -a src/etc/vim "$pkgdir/usr/share/vim/vimfiles" - find "$pkgdir/usr/share/vim" -type f -exec chmod 644 {} + - find "$pkgdir/usr/share/vim" -type d -exec chmod 755 {} + - - install -Dm644 src/etc/zsh/_rust "$pkgdir/usr/share/zsh/site-functions/_rust" - install -Dm644 src/etc/kate/rust.xml "$pkgdir/usr/share/apps/katepart/syntax/rust.xml" - install -Dm644 src/etc/gedit/share/mime/packages/rust.xml \ - "$pkgdir/usr/share/mime/packages/rust.xml" - install -Dm644 src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang \ - "$pkgdir/usr/share/gtksourceview-3.0/language-specs/rust.lang" - - install -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname" - install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname" - - cd src/etc/emacs - install -Dm644 rust-mode.el "$pkgdir/usr/share/emacs/site-lisp/rust-mode.el" - - cd "$pkgdir/usr/lib" - rm rustlib/{components,manifest-rustc,rust-installer-version} - ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . -} Copied: rust/repos/community-x86_64/PKGBUILD (from rev 128159, rust/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-02-23 22:33:53 UTC (rev 128160) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Daniel Micay <danielmi...@gmail.com> + +pkgname=rust +_pkgver=1.0.0-alpha.2 +pkgver=1.0.0.alpha.2 +pkgrel=1 +arch=(i686 x86_64) +pkgdesc='A safe, concurrent, practical language' +url='http://www.rust-lang.org/' +license=(MIT Apache) +depends=(gcc) +makedepends=(libffi perl python2 curl) +checkdepends=(git valgrind) +source=(http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz{,.asc}) +sha256sums=('a931b945e98f409df68fdff23e98b688024461c28901106896e73708381956c8' + 'SKIP') +install=rust.install +options=(staticlibs) +validpgpkeys=(108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE) # Rust Language (Tag and Release Signing Key) <rust-...@rust-lang.org> + +build() { + cd rustc-$_pkgver + + ./configure --prefix=/usr --disable-debug --disable-docs --disable-verify-install + + # avoid python makedepend (force fallback to python2) + sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules + + make +} + +check() { + cd rustc-$_pkgver + #make check +} + +package() { + cd rustc-$_pkgver + make DESTDIR="$pkgdir" install + + install -D -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE" + install -D -m644 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 . +} Deleted: community-x86_64/rust.install =================================================================== --- community-x86_64/rust.install 2015-02-23 22:32:04 UTC (rev 128159) +++ community-x86_64/rust.install 2015-02-23 22:33:53 UTC (rev 128160) @@ -1,13 +0,0 @@ -post_install() { - if type -P update-mime-database &> /dev/null; then - update-mime-database usr/share/mime >/dev/null - fi -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: rust/repos/community-x86_64/rust.install (from rev 128159, rust/trunk/rust.install) =================================================================== --- community-x86_64/rust.install (rev 0) +++ community-x86_64/rust.install 2015-02-23 22:33:53 UTC (rev 128160) @@ -0,0 +1,13 @@ +post_install() { + if type -P update-mime-database &> /dev/null; then + update-mime-database usr/share/mime >/dev/null + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}