[arch-commits] Commit in rust/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Feb 23 22:32:05 UTC 2015


    Date: Monday, February 23, 2015 @ 23:32:04
  Author: anatolik
Revision: 128159

upgpkg: rust 1.0.0.alpha.2-1

vim and other editor files were moved to separate repo
http://internals.rust-lang.org/t/moving-editor-highlighting-into-their-own-repos/1395

Modified:
  rust/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++----------------------
 1 file changed, 6 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-23 21:43:30 UTC (rev 128158)
+++ PKGBUILD	2015-02-23 22:32:04 UTC (rev 128159)
@@ -2,9 +2,9 @@
 # Maintainer: Daniel Micay <danielmicay at gmail.com>
 
 pkgname=rust
-_pkgver=1.0.0-alpha
-pkgver=1.0.0.alpha
-pkgrel=3
+_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/'
@@ -13,7 +13,7 @@
 makedepends=(libffi perl python2 curl)
 checkdepends=(git valgrind)
 source=(http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz{,.asc})
-sha256sums=('3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c'
+sha256sums=('a931b945e98f409df68fdff23e98b688024461c28901106896e73708381956c8'
             'SKIP')
 install=rust.install
 options=(staticlibs)
@@ -39,25 +39,9 @@
   cd rustc-$_pkgver
   make DESTDIR="$pkgdir" install
 
-  mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/$pkgname"
+  install -D -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+  install -D -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
 
-  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 .



More information about the arch-commits mailing list