2011-11-23 09:04:43 +01:00
|
|
|
# Template file for 'dmenu'
|
|
|
|
pkgname=dmenu
|
2012-08-09 10:32:55 +02:00
|
|
|
version=4.5
|
2014-03-14 10:28:59 +01:00
|
|
|
revision=6
|
2012-08-09 10:32:55 +02:00
|
|
|
makedepends="libXinerama-devel"
|
2011-11-23 09:04:43 +01:00
|
|
|
short_desc="A generic menu for X"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="MIT"
|
2012-08-09 10:32:55 +02:00
|
|
|
homepage="http://tools.suckless.org/dmenu/"
|
|
|
|
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=082cd698d82125ca0b3989006fb84ac4675c2a5585bf5bb8af0ea09cfb95a850
|
2011-11-23 09:04:43 +01:00
|
|
|
|
|
|
|
do_build() {
|
2012-12-16 05:44:27 +01:00
|
|
|
sed -i -e "s|^CFLAGS =|CFLAGS += |g" \
|
|
|
|
-e "s|^LDFLAGS = \-s|LDFLAGS += |g" config.mk
|
2014-03-14 10:28:59 +01:00
|
|
|
|
|
|
|
x11inc=$XBPS_CROSS_BASE/usr/include/X11
|
|
|
|
x11lib=$XBPS_CROSS_BASE/usr/lib
|
2013-05-06 14:20:40 +02:00
|
|
|
make CC="$CC" ${makejobs} X11INC=$x11inc X11LIB=$x11lib
|
2011-11-23 09:04:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2012-12-16 05:44:27 +01:00
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
2011-11-23 09:04:43 +01:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|