Update dwm-flexipatch ebuild to git clone instead of tar download/unpack

This commit is contained in:
Sravan Balaji
2024-05-04 11:56:54 -04:00
parent eb2fd38347
commit 74ab298a35
2 changed files with 6 additions and 7 deletions

View File

@@ -5,7 +5,11 @@ EAPI=8
DESCRIPTION="Dynamic Window Manager for X with preprocessor directive patching"
HOMEPAGE="https://gitea.sravanbalaji.com/sravan/dwm-flexipatch"
SRC_URI="https://gitea.sravanbalaji.com/sravan/${PN}/archive/master.tar.gz"
EGIT_REPO_URI="https://gitea.sravanbalaji.com/sravan/dwm-flexipatch.git"
EGIT_BRANCH="master"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
EGIT_SUBMODULES=( '*' )
LICENSE="MIT"
SLOT="0"
@@ -57,11 +61,7 @@ RDEPEND="
app-misc/openrgb
"
src_unpack() {
if [[ -n ${A} ]]; then
unpack ${A}
fi
}
inherit git-r3
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die "make install failed"