diff options
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 ab17d91d5a..f201afb986 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 |