diff options
Diffstat (limited to 'development/uemacs/uemacs.SlackBuild')
-rw-r--r-- | development/uemacs/uemacs.SlackBuild | 12 |
1 files changed, 7 insertions, 5 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 |