From 721ba322e1d117a8829249c6ced9edf09f5d0788 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 11 May 2010 22:26:49 +0200 Subject: system/ncdu: Updated for version 1.4 --- system/ncdu/ncdu.SlackBuild | 23 +++++++++++++---------- system/ncdu/ncdu.info | 8 ++++---- 2 files changed, 17 insertions(+), 14 deletions(-) (limited to 'system/ncdu') diff --git a/system/ncdu/ncdu.SlackBuild b/system/ncdu/ncdu.SlackBuild index a0e4482c5a34..af194735c632 100644 --- a/system/ncdu/ncdu.SlackBuild +++ b/system/ncdu/ncdu.SlackBuild @@ -2,10 +2,11 @@ # Slackware build script for ncdu # Written by Erik Hanson erik@slackbuilds.org -# Updated for version 1.3 by Michiel van Wessem + +set -eu PRGNAM=ncdu -VERSION=1.3 +VERSION=1.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -22,9 +23,9 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -34,17 +35,19 @@ CFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --mandir=/usr/man \ - || exit 1 + --mandir=/usr/man -make || exit 1 -make install DESTDIR=$PKG || exit 1 +make +make install DESTDIR=$PKG -find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : \ + | xargs strip --strip-unneeded 2> /dev/null gzip -9 $PKG/usr/man/man?/* + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/system/ncdu/ncdu.info b/system/ncdu/ncdu.info index 8d6986b6cc25..c1fb54958033 100644 --- a/system/ncdu/ncdu.info +++ b/system/ncdu/ncdu.info @@ -1,8 +1,8 @@ PRGNAM="ncdu" -VERSION="1.3" +VERSION="1.4" HOMEPAGE="http://dev.yorhel.nl/ncdu/" -DOWNLOAD="http://dev.yorhel.nl/download/ncdu-1.3.tar.gz" -MD5SUM="204bacb8376819059bec6c8287a87a67" +DOWNLOAD="http://dev.yorhel.nl/download/ncdu-1.4.tar.gz" +MD5SUM="07f01579f7c9852033139ae9fa2414c9" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" -APPROVED="rworkman" +APPROVED="Michiel" -- cgit v1.2.3