summaryrefslogtreecommitdiff
path: root/community/rust/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-07-09 21:04:53 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-07-09 21:04:53 -0300
commitfd5ff7e53a5b8dbabc85ab6e2ff1342b85e155b1 (patch)
treed2b16d75c64d947545149f37bda7cdb8873a4770 /community/rust/PKGBUILD
parent7823c9009a845174746fd0da09af46a138481851 (diff)
parent10aa61ef39e662453e1d817046e359372fe3b326 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/aspell-pl/PKGBUILD community/gloox/PKGBUILD community/libircclient/PKGBUILD community/mashup/PKGBUILD community/omniorb/PKGBUILD community/openbox/PKGBUILD community/patchutils/PKGBUILD community/rxvt-unicode/PKGBUILD extra/mesa/PKGBUILD extra/pygobject2/PKGBUILD extra/qt5/PKGBUILD extra/samba/PKGBUILD extra/tdb/PKGBUILD extra/transmission/PKGBUILD extra/vim/PKGBUILD pcr/python-sfml2/PKGBUILD pcr/python2-sfml2/PKGBUILD
Diffstat (limited to 'community/rust/PKGBUILD')
-rw-r--r--community/rust/PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/community/rust/PKGBUILD b/community/rust/PKGBUILD
index 7baa62a1a..c9530fd58 100644
--- a/community/rust/PKGBUILD
+++ b/community/rust/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 90170 2013-05-07 22:11:28Z thestinger $
+# $Id: PKGBUILD 93472 2013-07-04 02:25:38Z thestinger $
# Maintainer: Daniel Micay <danielmicay@gmail.com>
pkgname=rust
-pkgver=0.6
-pkgrel=4
+pkgver=0.7
+pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='A safe, concurrent, practical language'
url='http://www.rust-lang.org/'
license=('MIT' 'Apache')
-depends=(gcc gcc-libs shared-mime-info)
-makedepends=(libffi perl python2 curl chrpath emacs)
+depends=(gcc shared-mime-info)
+makedepends=(libffi perl python2 curl chrpath emacs-nox)
optdepends=('haskell-pandoc: documentation generator (rustdoc)')
source=("http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz")
-sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
+sha256sums=('0b88b8a4489382e0a69214eaab88e2e7c316ec33c164af0d3b53630b17590df0')
install=rust.install
build() {
@@ -34,20 +34,21 @@ package() {
cd rust-$pkgver
make DESTDIR="$pkgdir" install
- mkdir -p "$pkgdir/usr/share/vim" "$pkgdir/usr/share/licenses/rust"
+ 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/rust"
- install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/rust"
+ install -m644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname"
+ install -m644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname"
cd src/etc/emacs
make
@@ -58,6 +59,4 @@ package() {
# 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/
}