diff options
author | Larry Hajali <larryhaja@gmail.com> | 2014-07-06 08:34:49 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-07-07 00:00:40 -0500 |
commit | 0afb92e51568e5c46bf9e79cb75edc7072073d62 (patch) | |
tree | 5d6019452ae7c5fbf184456df49e85b6a3b1af9c /development/xmlcopyeditor/xmlcopyeditor.SlackBuild | |
parent | 1c784a837d15657f73eeec7e85f8bfa7ee5fd9e3 (diff) | |
download | slackbuilds-0afb92e51568e5c46bf9e79cb75edc7072073d62.tar.gz |
development/xmlcopyeditor: Updated for version 1.2.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/xmlcopyeditor/xmlcopyeditor.SlackBuild')
-rw-r--r-- | development/xmlcopyeditor/xmlcopyeditor.SlackBuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/development/xmlcopyeditor/xmlcopyeditor.SlackBuild b/development/xmlcopyeditor/xmlcopyeditor.SlackBuild index d027d97ff9..84eba01038 100644 --- a/development/xmlcopyeditor/xmlcopyeditor.SlackBuild +++ b/development/xmlcopyeditor/xmlcopyeditor.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xmlcopyeditor -# Copyright 2009-2013 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2009-2014 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xmlcopyeditor -VERSION=${VERSION:-1.2.0.11} +VERSION=${VERSION:-1.2.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,31 +64,28 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \; # Fix end-of-line formatting. for FILE in $(find . -type f ! -name "*\.png" | xargs grep -Pl '\r$'); do sed -i 's/\r//g' $FILE done -# Fix .desktop item. -sed -i -e 's|\.png||' -e 's|Application;||' -e 's|TextEditor;||' src/$PRGNAM.desktop - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-static=no \ + --disable-dependency-tracking \ --build=$ARCH-slackware-linux 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |