32 lines
961 B
Text
32 lines
961 B
Text
# Template file for 'dmenu'
|
|
pkgname=dmenu
|
|
version=4.5
|
|
revision=4
|
|
makedepends="libXinerama-devel"
|
|
short_desc="A generic menu for X"
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
license="MIT"
|
|
homepage="http://tools.suckless.org/dmenu/"
|
|
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
|
|
checksum=082cd698d82125ca0b3989006fb84ac4675c2a5585bf5bb8af0ea09cfb95a850
|
|
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() {
|
|
sed -i -e "s|^CFLAGS =|CFLAGS += |g" \
|
|
-e "s|^LDFLAGS = \-s|LDFLAGS += |g" config.mk
|
|
if [ "$CROSS_BUILD" ]; then
|
|
x11inc=$XBPS_CROSS_BASE/usr/include/X11
|
|
x11lib=$XBPS_CROSS_BASE/usr/lib
|
|
else
|
|
x11inc=/usr/include/X11
|
|
x11lib=/usr/lib
|
|
fi
|
|
make CC="$CC" ${makejobs} X11INC=$x11inc X11LIB=$x11lib
|
|
}
|
|
|
|
do_install() {
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
}
|