mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
desktop/dmenu: Updated for version 4.0
This commit is contained in:
parent
2b2c3f698a
commit
22ea4ee118
2 changed files with 13 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue