development/uemacs: Updated for version 20141208.

Thanks to John Vogel for the sed help.

Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
Ryan P.C. McQuen 2015-02-08 15:15:53 -08:00 committed by Willy Sudiarto Raharjo
parent 0c30a68b53
commit 6dad9c1a81
2 changed files with 10 additions and 8 deletions

View file

@ -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

View file

@ -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=""