dmenu: respect our CFLAGS/LDFLAGS.
This commit is contained in:
parent
a18d339b54
commit
bd7b0da8ad
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dmenu'
|
# Template file for 'dmenu'
|
||||||
pkgname=dmenu
|
pkgname=dmenu
|
||||||
version=4.5
|
version=4.5
|
||||||
revision=1
|
revision=2
|
||||||
makedepends="libXinerama-devel"
|
makedepends="libXinerama-devel"
|
||||||
short_desc="A generic menu for X"
|
short_desc="A generic menu for X"
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
@ -14,10 +14,12 @@ long_desc="
|
||||||
numbers of user-defined menu items efficiently."
|
numbers of user-defined menu items efficiently."
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
|
sed -i -e "s|^CFLAGS =|CFLAGS += |g" \
|
||||||
|
-e "s|^LDFLAGS = \-s|LDFLAGS += |g" config.mk
|
||||||
|
make ${makejobs} X11INC=/usr/include/X11 X11LIB=/usr/lib
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make ${makejobs} PREFIX=/usr DESTDIR=${DESTDIR} install
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue