summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/uemacs/uemacs.SlackBuild12
-rw-r--r--development/uemacs/uemacs.info6
2 files changed, 10 insertions, 8 deletions
diff --git a/development/uemacs/uemacs.SlackBuild b/development/uemacs/uemacs.SlackBuild
index 965ffef1b6..85501bcffc 100644
--- a/development/uemacs/uemacs.SlackBuild
+++ b/development/uemacs/uemacs.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=uemacs
-VERSION=${VERSION:-20130222}
+VERSION=${VERSION:-20141208}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,14 +61,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM$VERSION.tar.xz
cd $PRGNAM
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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
@@ -77,10 +77,12 @@ sed -i -e "s|BINDIR=/usr/bin|BINDIR=${PKG}/usr/bin|" \
-e "s|LIBDIR=/usr/lib|LIBDIR=${PKG}/usr/lib$LIBDIRSUFFIX|" \
-e "s|CFLAGS=-O2 \$(WARNINGS)|CFLAGS=${SLKCFLAGS}|" Makefile
+sed -i -e "s|/usr/lib|/usr/lib$LIBDIRSUFFIX|" epath.h
+
make
make install
-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/uemacs/uemacs.info b/development/uemacs/uemacs.info
index a02650a879..f434ccc303 100644
--- a/development/uemacs/uemacs.info
+++ b/development/uemacs/uemacs.info
@@ -1,8 +1,8 @@
PRGNAM="uemacs"
-VERSION="20130222"
+VERSION="20141208"
HOMEPAGE="http://git.kernel.org/?p=editors/uemacs/uemacs.git;a=summary"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/uemacs/uemacs20130222.tar.gz"
-MD5SUM="bec23e5a9a5fed55d787fde09c95e737"
+DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/uemacs/uemacs20141208.tar.xz"
+MD5SUM="c2172a5a2edb9dc2725a2f92227ef31e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""