summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/dmenu/dmenu.SlackBuild12
-rw-r--r--desktop/dmenu/dmenu.info10
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"