diff options
author | melikamp <melikamp@melikamp.net> | 2014-04-18 00:16:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-04-23 07:51:40 +0700 |
commit | 1219dfed68b152de4c84358f0df6c5f885a4d90d (patch) | |
tree | 677d43bb49af98f329849035eabc79d27c5ce72e /academic/R/R.SlackBuild | |
parent | 540a11551ffb0eac3b0265586a88a7f45c576fdf (diff) |
academic/R: Updated for version 3.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/R/R.SlackBuild')
-rw-r--r-- | academic/R/R.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild index ab17d91d5a5f3..f201afb986e2d 100644 --- a/academic/R/R.SlackBuild +++ b/academic/R/R.SlackBuild @@ -1,7 +1,9 @@ #!/bin/sh -# SlackBuild script for R, by melikamp, Andrew Rowland. (Contributors -# are listed in order of first participation.) +# SlackBuild script for R + +# Copyright 2014 melikamp, Andrew Rowland. (Contributors are listed in +# order of first participation.) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,12 +19,12 @@ # including the end of all existence and the Universe as we know it. # See the GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program (most likely, a file named COPYING). If -# not, see <http://www.gnu.org/licenses/>. +# You may have received a copy of the GNU General Public License along +# with this program (most likely, a file named COPYING). If not, see +# <http://www.gnu.org/licenses/>. PRGNAM=R -VERSION=${VERSION:-3.0.3} +VERSION=${VERSION:-3.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -95,15 +97,13 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README NEWS $PKG/usr/doc/$PRGNAM-$VERSION -tar cfJ $PKG/usr/doc/$PRGNAM-$VERSION/OLDER_NEWS.txz NEWS.[012] cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |