summaryrefslogtreecommitdiff
path: root/gui-wm/dwl/dwl-9999.ebuild
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-07-03 23:48:13 -0700
committerChris Sobczak <chris@sobczak.family>2026-07-03 23:48:13 -0700
commit034e07cafc7f6b5f8f4b015d3d9bba24d4999e8c (patch)
tree01d4307909e84c8e87b1d9ba2ffb71e450bb0d67 /gui-wm/dwl/dwl-9999.ebuild
parent9e73cc8f688836e381ec9b3e2f16803a53f3f557 (diff)
Add make args for compile and install
Diffstat (limited to 'gui-wm/dwl/dwl-9999.ebuild')
-rw-r--r--gui-wm/dwl/dwl-9999.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild
index 9445eb2..b180ddb 100644
--- a/gui-wm/dwl/dwl-9999.ebuild
+++ b/gui-wm/dwl/dwl-9999.ebuild
@@ -132,6 +132,11 @@ BDEPEND="
virtual/pkgconfig
"
+MAKE_ARGS=(
+ PREFIX="${EPREFIX}/usr"
+ XWAYLAND="-DXWAYLAND"
+ XLIBS="xcb xcb-icccm"
+)
# The following src_configure function is implemented as default by portage, so
# you only need to call it if you need a different behaviour.
@@ -168,10 +173,7 @@ src_compile() {
# worked around.
tc-export CC PKG_CONFIG
- emake \
- XWAYLAND="-DXWAYLAND" \
- XLIBS="xcb xcb-icccm" \
- dwl
+ emake "${MAKE_ARGS[@]}" dwl
}
# The following src_install function is implemented as default by portage, so
@@ -201,10 +203,7 @@ src_install() {
# Again, verify the Makefiles! We don't want anything falling
# outside of ${D}.
- emake \
- DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- install
+ emake "${MAKE_ARGS[@]}" DESTDIR="${D}" install
dodoc CHANGELOG.md README.md
}