diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2010-05-12 17:37:44 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:37:44 +0200 |
commit | 22ea4ee11849cac30bfc0f8c57b403324f238364 (patch) | |
tree | 20d83e3bd761c2f30ed858cb85c700f600020c9a | |
parent | 2b2c3f698a87149e4193fcd0a0d9187794b1fccd (diff) | |
download | slackbuilds-22ea4ee11849cac30bfc0f8c57b403324f238364.tar.gz |
desktop/dmenu: Updated for version 4.0
-rw-r--r-- | desktop/dmenu/dmenu.SlackBuild | 12 | ||||
-rw-r--r-- | desktop/dmenu/dmenu.info | 10 |
2 files changed, 13 insertions, 9 deletions
diff --git a/desktop/dmenu/dmenu.SlackBuild b/desktop/dmenu/dmenu.SlackBuild index 5dff1991e5..28b1706887 100644 --- a/desktop/dmenu/dmenu.SlackBuild +++ b/desktop/dmenu/dmenu.SlackBuild @@ -21,8 +21,10 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Modified by Phillip Warner for version >= 4.0 + PRGNAM=dmenu -VERSION=3.9 +VERSION=4.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,13 +61,15 @@ find . \ sed -i \ -e 's/^PREFIX = \/usr\/local/PREFIX = \/usr/' \ -e 's/^MANPREFIX = ${PREFIX}\/share\/man/MANPREFIX = ${PREFIX}\/man/' \ - -e 's/^CFLAGS = /CFLAGS +=/' \ + -e 's/^CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall/' \ config.mk CFLAGS=${SLKCFLAGS} make install DESTDIR=$PKG -( find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +( find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man diff --git a/desktop/dmenu/dmenu.info b/desktop/dmenu/dmenu.info index 85a06b0a4c..2cc0719432 100644 --- a/desktop/dmenu/dmenu.info +++ b/desktop/dmenu/dmenu.info @@ -1,8 +1,8 @@ PRGNAM="dmenu" -VERSION="3.9" +VERSION="4.0" HOMEPAGE="http://www.suckless.org/programs/dmenu.html" -DOWNLOAD="http://code.suckless.org/dl/tools/dmenu-3.9.tar.gz" -MD5SUM="36d546dd4ac21660b20cdb056f5cb341" -MAINTAINER="Antonio Hernández Blas" -EMAIL="hba.nihilismus@gmail.com" +DOWNLOAD="http://code.suckless.org/dl/tools/dmenu-4.0.tar.gz" +MD5SUM="66e761a653930cc8a21614ba9fedf903" +MAINTAINER="Phillip Warner" +EMAIL="pc_warner@yahoo.com" APPROVED="dsomero" |