commit: b8e4b564da0720fe51c5b951f6961cfaa9741353
parent 6e6dd4396f2da8e438f6a9238abb7eb03cb5c093
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 20 Oct 2023 08:13:42 +0200
x11-themes/ultrasharp-cursor-theme: Ack move from Makefile to ninja
Diffstat:
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/x11-themes/ultrasharp-cursor-theme/ultrasharp-cursor-theme-9999.ebuild b/x11-themes/ultrasharp-cursor-theme/ultrasharp-cursor-theme-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Copyright 2022-2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit git-r3
+inherit git-r3 ninja-utils
DESCRIPTION="Precision and speed oriented cursor theme"
HOMEPAGE="https://hacktivis.me/projects/ultrasharp-cursor-theme"
@@ -11,12 +11,21 @@ EGIT_REPO_URI="https://hacktivis.me/git/ultrasharp-cursor-theme.git"
LICENSE="CC-BY-SA-4.0"
SLOT="0"
-src_prepare() {
- default
+BDEPEND="
+ || (
+ x11-apps/xcursorgen
+ x11-apps/xcursorgen-nox
+ )
+"
- sed -i 's/^install: all/install:/' Makefile || die
+src_configure() {
+ ./configure PREFIX=/usr || die
}
src_compile() {
- :
+ eninja
+}
+
+src_install() {
+ DESTDIR="${ED}" eninja install
}