diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-11-06 07:32:03 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-05 20:13:21 -0600 |
commit | e692dd5e111078b4ede8e2264525d8fefc5b0be9 (patch) | |
tree | bf470c8abf6de468ee14df92a0cffcf855813df4 /academic/units/units.SlackBuild | |
parent | 9024845e600561728673a67d51f3904109b211ec (diff) | |
download | slackbuilds-e692dd5e111078b4ede8e2264525d8fefc5b0be9.tar.gz |
academic/units: Updated for version 2.02.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/units/units.SlackBuild')
-rw-r--r-- | academic/units/units.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/academic/units/units.SlackBuild b/academic/units/units.SlackBuild index cc4052b417..af071ad929 100644 --- a/academic/units/units.SlackBuild +++ b/academic/units/units.SlackBuild @@ -25,8 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=units -VERSION=2.00 -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.02} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -65,9 +65,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -patch -p1 < $CWD/destdir-fix.patch +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |