2011-11-23 08:04:43 +00:00
|
|
|
# Template file for 'dmenu'
|
|
|
|
pkgname=dmenu
|
2012-08-09 08:32:55 +00:00
|
|
|
version=4.5
|
2012-12-16 04:44:27 +00:00
|
|
|
revision=2
|
2012-08-09 08:32:55 +00:00
|
|
|
makedepends="libXinerama-devel"
|
2011-11-23 08:04:43 +00:00
|
|
|
short_desc="A generic menu for X"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="MIT"
|
2012-08-09 08:32:55 +00:00
|
|
|
homepage="http://tools.suckless.org/dmenu/"
|
|
|
|
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=082cd698d82125ca0b3989006fb84ac4675c2a5585bf5bb8af0ea09cfb95a850
|
2011-11-23 08:04:43 +00:00
|
|
|
long_desc="
|
|
|
|
dmenu is a dynamic menu for X, originally designed for dwm. It manages large
|
|
|
|
numbers of user-defined menu items efficiently."
|
|
|
|
|
|
|
|
do_build() {
|
2012-12-16 04:44:27 +00:00
|
|
|
sed -i -e "s|^CFLAGS =|CFLAGS += |g" \
|
|
|
|
-e "s|^LDFLAGS = \-s|LDFLAGS += |g" config.mk
|
|
|
|
make ${makejobs} X11INC=/usr/include/X11 X11LIB=/usr/lib
|
2011-11-23 08:04:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2012-12-16 04:44:27 +00:00
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
2011-11-23 08:04:43 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|