summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/xmlcopyeditor/xmlcopyeditor.SlackBuild19
-rw-r--r--development/xmlcopyeditor/xmlcopyeditor.info6
2 files changed, 11 insertions, 14 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
diff --git a/development/xmlcopyeditor/xmlcopyeditor.info b/development/xmlcopyeditor/xmlcopyeditor.info
index 36c0bfefda..5a5986ed7a 100644
--- a/development/xmlcopyeditor/xmlcopyeditor.info
+++ b/development/xmlcopyeditor/xmlcopyeditor.info
@@ -1,8 +1,8 @@
PRGNAM="xmlcopyeditor"
-VERSION="1.2.0.11"
+VERSION="1.2.1.2"
HOMEPAGE="http://xml-copy-editor.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/sourceforge/xml-copy-editor/xmlcopyeditor-1.2.0.11.tar.gz"
-MD5SUM="326e49f374f0e9d6fda23506c03b0c70"
+DOWNLOAD="http://downloads.sourceforge.net/sourceforge/xml-copy-editor/xmlcopyeditor-1.2.1.2.tar.gz"
+MD5SUM="fddbd314037dd50ff1cb8346000ff84d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxPython xerces-c"