[arch-commits] Commit in rust/repos (6 files)

Daniel Micay thestinger at nymeria.archlinux.org
Wed Apr 3 09:53:17 UTC 2013


    Date: Wednesday, April 3, 2013 @ 11:53:17
  Author: thestinger
Revision: 87570

archrelease: copy trunk to community-i686, community-x86_64

Added:
  rust/repos/community-i686/PKGBUILD
    (from rev 87569, rust/trunk/PKGBUILD)
  rust/repos/community-i686/rust.install
    (from rev 87569, rust/trunk/rust.install)
  rust/repos/community-x86_64/PKGBUILD
    (from rev 87569, rust/trunk/PKGBUILD)
  rust/repos/community-x86_64/rust.install
    (from rev 87569, rust/trunk/rust.install)
Deleted:
  rust/repos/community-i686/PKGBUILD
  rust/repos/community-x86_64/PKGBUILD

-------------------------------+
 /PKGBUILD                     |  114 ++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD       |   46 ----------------
 community-i686/rust.install   |   11 +++
 community-x86_64/PKGBUILD     |   46 ----------------
 community-x86_64/rust.install |   11 +++
 5 files changed, 136 insertions(+), 92 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-04-03 09:46:17 UTC (rev 87569)
+++ community-i686/PKGBUILD	2013-04-03 09:53:17 UTC (rev 87570)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
-pkgname=rust
-pkgver=0.6
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc='A safe, concurrent, practical language'
-url='http://www.rust-lang.org/'
-license=('MIT' 'Apache')
-depends=('gcc-libs')
-makedepends=(libffi perl python2 curl chrpath)
-source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz")
-sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
-
-build() {
-  cd rust-$pkgver
-
-  ./configure --prefix=/usr --disable-docs
-
-  # avoid python makedepend (force fallback to python2)
-  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
-
-  make
-}
-
-package() {
-  cd rust-${pkgver}
-  make DESTDIR="$pkgdir" install
-
-  mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/rust"
-
-  # should be globally readable
-  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 -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/rust"
-  install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/rust"
-
-  cd "$pkgdir/usr"
-
-  # https://github.com/mozilla/rust/issues/5219
-  chrpath -d bin/* lib/*.so lib/rustc/*/lib/*.so
-
-  cp lib/rustc/*/lib/{librustdoc-*-0.6.so,librustpkg-*-0.6.so} lib/
-}

Copied: rust/repos/community-i686/PKGBUILD (from rev 87569, rust/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-04-03 09:53:17 UTC (rev 87570)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+pkgname=rust
+pkgver=0.6
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='A safe, concurrent, practical language'
+url='http://www.rust-lang.org/'
+license=('MIT' 'Apache')
+depends=(gcc-libs shared-mime-info)
+makedepends=(libffi perl python2 curl chrpath emacs)
+source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz")
+sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
+install=rust.install
+
+build() {
+  cd rust-$pkgver
+
+  ./configure --prefix=/usr --disable-docs
+
+  # avoid python makedepend (force fallback to python2)
+  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
+
+  make
+}
+
+package() {
+  cd rust-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/rust"
+
+  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/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/rust"
+  install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/rust"
+
+  cd src/etc/emacs
+  make
+  mkdir -p "$pkgdir/usr/share/emacs/site-lisp/"
+  install -Dm644 cm-mode.el{,c} rust-mode.el{,c} "$pkgdir/usr/share/emacs/site-lisp/"
+
+  cd "$pkgdir/usr"
+
+  # https://github.com/mozilla/rust/issues/5219
+  chrpath -d bin/* lib/*.so lib/rustc/*/lib/*.so
+
+  cp lib/rustc/*/lib/{librustdoc-*-0.6.so,librustpkg-*-0.6.so} lib/
+}

Copied: rust/repos/community-i686/rust.install (from rev 87569, rust/trunk/rust.install)
===================================================================
--- community-i686/rust.install	                        (rev 0)
+++ community-i686/rust.install	2013-04-03 09:53:17 UTC (rev 87570)
@@ -0,0 +1,11 @@
+post_install() {
+  update-mime-database usr/share/mime >/dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-04-03 09:46:17 UTC (rev 87569)
+++ community-x86_64/PKGBUILD	2013-04-03 09:53:17 UTC (rev 87570)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
-pkgname=rust
-pkgver=0.6
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc='A safe, concurrent, practical language'
-url='http://www.rust-lang.org/'
-license=('MIT' 'Apache')
-depends=('gcc-libs')
-makedepends=(libffi perl python2 curl chrpath)
-source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz")
-sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
-
-build() {
-  cd rust-$pkgver
-
-  ./configure --prefix=/usr --disable-docs
-
-  # avoid python makedepend (force fallback to python2)
-  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
-
-  make
-}
-
-package() {
-  cd rust-${pkgver}
-  make DESTDIR="$pkgdir" install
-
-  mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/rust"
-
-  # should be globally readable
-  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 -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/rust"
-  install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/rust"
-
-  cd "$pkgdir/usr"
-
-  # https://github.com/mozilla/rust/issues/5219
-  chrpath -d bin/* lib/*.so lib/rustc/*/lib/*.so
-
-  cp lib/rustc/*/lib/{librustdoc-*-0.6.so,librustpkg-*-0.6.so} lib/
-}

Copied: rust/repos/community-x86_64/PKGBUILD (from rev 87569, rust/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-04-03 09:53:17 UTC (rev 87570)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+pkgname=rust
+pkgver=0.6
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='A safe, concurrent, practical language'
+url='http://www.rust-lang.org/'
+license=('MIT' 'Apache')
+depends=(gcc-libs shared-mime-info)
+makedepends=(libffi perl python2 curl chrpath emacs)
+source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz")
+sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
+install=rust.install
+
+build() {
+  cd rust-$pkgver
+
+  ./configure --prefix=/usr --disable-docs
+
+  # avoid python makedepend (force fallback to python2)
+  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
+
+  make
+}
+
+package() {
+  cd rust-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/rust"
+
+  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/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/rust"
+  install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/rust"
+
+  cd src/etc/emacs
+  make
+  mkdir -p "$pkgdir/usr/share/emacs/site-lisp/"
+  install -Dm644 cm-mode.el{,c} rust-mode.el{,c} "$pkgdir/usr/share/emacs/site-lisp/"
+
+  cd "$pkgdir/usr"
+
+  # https://github.com/mozilla/rust/issues/5219
+  chrpath -d bin/* lib/*.so lib/rustc/*/lib/*.so
+
+  cp lib/rustc/*/lib/{librustdoc-*-0.6.so,librustpkg-*-0.6.so} lib/
+}

Copied: rust/repos/community-x86_64/rust.install (from rev 87569, rust/trunk/rust.install)
===================================================================
--- community-x86_64/rust.install	                        (rev 0)
+++ community-x86_64/rust.install	2013-04-03 09:53:17 UTC (rev 87570)
@@ -0,0 +1,11 @@
+post_install() {
+  update-mime-database usr/share/mime >/dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list