diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /games-board/xskat/xskat-4.0-r2.ebuild | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'games-board/xskat/xskat-4.0-r2.ebuild')
-rw-r--r-- | games-board/xskat/xskat-4.0-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games-board/xskat/xskat-4.0-r2.ebuild b/games-board/xskat/xskat-4.0-r2.ebuild new file mode 100644 index 000000000000..da925919f0cc --- /dev/null +++ b/games-board/xskat/xskat-4.0-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs + +DESCRIPTION="Famous german card game" +HOMEPAGE="http://www.xskat.de/xskat.html" +SRC_URI=" + http://www.xskat.de/${P}.tar.gz + https://dev.gentoo.org/~ionen/distfiles/${PN}.png" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +DEPEND="x11-libs/libX11" +RDEPEND=" + ${DEPEND} + media-fonts/font-misc-misc" +BDEPEND=" + virtual/pkgconfig + x11-base/xorg-proto" + +src_configure() { :; } + +src_compile() { + tc-export CC + + local emakeargs=( + CFLAGS="${CFLAGS} ${CPPFLAGS}" + LDFLAGS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs x11 || die)" + ) + + emake "${emakeargs[@]}" +} + +src_install() { + dobin ${PN} + newman ${PN}.{man,6} + + einstalldocs + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} XSkat +} |