summaryrefslogtreecommitdiff
path: root/desktop/dmenu/dmenu.SlackBuild
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2010-05-12 17:37:44 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:37:44 +0200
commit22ea4ee11849cac30bfc0f8c57b403324f238364 (patch)
tree20d83e3bd761c2f30ed858cb85c700f600020c9a /desktop/dmenu/dmenu.SlackBuild
parent2b2c3f698a87149e4193fcd0a0d9187794b1fccd (diff)
downloadslackbuilds-22ea4ee11849cac30bfc0f8c57b403324f238364.tar.gz
desktop/dmenu: Updated for version 4.0
Diffstat (limited to 'desktop/dmenu/dmenu.SlackBuild')
-rw-r--r--desktop/dmenu/dmenu.SlackBuild12
1 files changed, 8 insertions, 4 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