mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
gui-wm/dwl: fix nonexistent ${S}
and install desktop file (only for 0.4) Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> Closes: https://github.com/gentoo/gentoo/pull/33043 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -5,6 +5,7 @@ EAPI=8
|
||||
|
||||
inherit savedconfig toolchain-funcs
|
||||
|
||||
MY_P="${PN}-v${PV}"
|
||||
WLROOTS_SLOT="0/16"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/djpohly/dwl"
|
||||
@@ -22,7 +23,8 @@ if [[ ${PV} == *9999* ]]; then
|
||||
;;
|
||||
esac
|
||||
else
|
||||
SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
@@ -70,5 +72,8 @@ src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
dodoc README.md
|
||||
|
||||
insinto /usr/share/wayland-session
|
||||
doins "${FILESDIR}/dwl.desktop"
|
||||
|
||||
save_config config.h
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ EAPI=8
|
||||
|
||||
inherit savedconfig toolchain-funcs
|
||||
|
||||
MY_P="${PN}-v${PV}"
|
||||
WLROOTS_SLOT="0/16"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/djpohly/dwl"
|
||||
@@ -22,7 +23,8 @@ if [[ ${PV} == *9999* ]]; then
|
||||
;;
|
||||
esac
|
||||
else
|
||||
SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ EAPI=8
|
||||
|
||||
inherit savedconfig toolchain-funcs
|
||||
|
||||
MY_P="${PN}-v${PV}"
|
||||
WLROOTS_SLOT="0/16"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/djpohly/dwl"
|
||||
@@ -22,7 +23,8 @@ if [[ ${PV} == *9999* ]]; then
|
||||
;;
|
||||
esac
|
||||
else
|
||||
SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user