Update dwm-flexipatch ebuild to git clone instead of tar download/unpack
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
DIST master.tar.gz 248464 BLAKE2B d6296dc467ad6b9471f79ee3111eeb4380e8ea162867a27407e6fded421d2bfce376b52e7f2fadbb28fa6fe36aaa3ebe7fb8e3400af6eb6a7c4d07312494c18d SHA512 f388bef0a5ca31f0ea0455b644ff46f62a77cb6e4ebc3d36bdc1ac01ffd99eb4a782df34e5429a85832c5f76234fb89770b092a0f934e26fb409a89bfa91b728
|
|
@@ -5,7 +5,11 @@ EAPI=8
|
|||||||
|
|
||||||
DESCRIPTION="Dynamic Window Manager for X with preprocessor directive patching"
|
DESCRIPTION="Dynamic Window Manager for X with preprocessor directive patching"
|
||||||
HOMEPAGE="https://gitea.sravanbalaji.com/sravan/dwm-flexipatch"
|
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"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@@ -57,11 +61,7 @@ RDEPEND="
|
|||||||
app-misc/openrgb
|
app-misc/openrgb
|
||||||
"
|
"
|
||||||
|
|
||||||
src_unpack() {
|
inherit git-r3
|
||||||
if [[ -n ${A} ]]; then
|
|
||||||
unpack ${A}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die "make install failed"
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die "make install failed"
|
||||||
|
Reference in New Issue
Block a user