diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-31 08:59:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-31 08:59:54 +0100 |
commit | 3b08f674e3f771b49370edb144dab0958c8cf721 (patch) | |
tree | 3673eb62859b2343bc70589f2f9d670c2eee5cc8 /games-puzzle/xbomb | |
parent | b1c81de4fadbd00897700a7321f03b390d952b2e (diff) |
gentoo resync : 31.08.2021
Diffstat (limited to 'games-puzzle/xbomb')
-rw-r--r-- | games-puzzle/xbomb/Manifest | 2 | ||||
-rw-r--r-- | games-puzzle/xbomb/xbomb-2.2b-r3.ebuild (renamed from games-puzzle/xbomb/xbomb-2.2b-r2.ebuild) | 34 |
2 files changed, 19 insertions, 17 deletions
diff --git a/games-puzzle/xbomb/Manifest b/games-puzzle/xbomb/Manifest index b15051b58678..9b4a394e1926 100644 --- a/games-puzzle/xbomb/Manifest +++ b/games-puzzle/xbomb/Manifest @@ -1,5 +1,5 @@ AUX xbomb-2.2b-DESTDIR.patch 706 BLAKE2B 257023ee9127df592b81c7e4cb24b2004cd1522f89766ac8a6ee094889567278f59b2c17faca7f00954fb5021762ebdd593fb0e253f54c2b83546e4b5f83c0e8 SHA512 be770c9dd42e7c802af60ebe019b359d12b74397956d32881504b20f8ad44994a3cf1dcd3e23fcf65642cbee1aa622ba2fff63ec223fce9faaef0c03ed4b1914 AUX xbomb-2.2b-ldflags.patch 177 BLAKE2B b43eab3cf0fdbabce44b2ec6c2f47db947cb857e46620a4d4b5d2d30da07a0ee169e54403854f54a755e7569d37d9a43948ebf6bdb35611a0cbc8f415d2507dc SHA512 047f410f34505d4582969f071eb1982fd3bb38357ad228e61608ca9307118263f34d6a1b43832877ca2862e107018132bad3bf6e3df79b641d5466efb94a6d8c DIST xbomb-2.2b.tgz 24774 BLAKE2B 77a447af42ecd47654b826d884e7c31e98e0bdfb06d1574401064fe79dc42c961fc95a96dd6509871d78589e06eb54f975a292a5371c16520e125b75aae8b637 SHA512 7315cc08bff1ef14cc376ea3ad4913c4286e2e33e92ca1d924e4703fba2f58e5aa9df0db760cd0d9a83f2f1730cc65281403f5b198f32a30d0c5e736add8c2e1 -EBUILD xbomb-2.2b-r2.ebuild 1067 BLAKE2B 5c8da07f6598eb0e77798482a4fabe65260dcd284e70b032af0cb6cbfb59a68db1b686e2d2effa30fea8906ff2bd02504db26b0f3f1bf971655e56f53c5280e6 SHA512 64ac7055c889ab7de07425c30ad2567c2e90568165a0b854328c13b523f97a395ed9eb09dd9cb21e5ad25e8128f70478d57621de38136af3c4005c2a7eb7aa5b +EBUILD xbomb-2.2b-r3.ebuild 1163 BLAKE2B 7e9772230e49bc203341255451152732c82e761305c20646dd327ff3ece27e16c2ae8b20d9e216924522f96ba50c01c2e2567faad6f8cfc04bff23e6294afc82 SHA512 8152d60709cc5cb970dc1d912b6b4f03a5828f4ecdea06ee6b9a69d089214e3f6671762cc53fa284eee31747c87f0e287451259f113e835087b99c2912af6daf MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-puzzle/xbomb/xbomb-2.2b-r2.ebuild b/games-puzzle/xbomb/xbomb-2.2b-r3.ebuild index d43f0aec54a7..ac1174f80e21 100644 --- a/games-puzzle/xbomb/xbomb-2.2b-r2.ebuild +++ b/games-puzzle/xbomb/xbomb-2.2b-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop toolchain-funcs @@ -13,10 +13,15 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" -DEPEND="x11-libs/libXaw" +DEPEND=" + acct-group/gamestat + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXt +" RDEPEND=" ${DEPEND} - acct-group/gamestat + media-fonts/font-misc-misc " PATCHES=( @@ -27,28 +32,25 @@ PATCHES=( src_prepare() { default + sed -i -e '/strip/d' Makefile || die sed -i \ - -e '/strip/d' \ - -e '/^CC=/d' \ - -e "/^CFLAGS/ { s:=.*:=${CFLAGS}: }" \ - Makefile || die - sed -i \ - -e "s:/var/tmp:/var/lib/${PN}:g" \ + -e "s:/var/tmp:${EPREFIX}/var/games/${PN}:g" \ hiscore.c || die } -src_configure() { - tc-export CC +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" } src_install() { - default + emake DESTDIR="${ED}" install + einstalldocs - dodir /var/lib/${PN} - touch "${ED}"/var/lib/${PN}/${PN}{3,4,6}.hi || die "touch failed" - fperms 660 /var/lib/${PN}/${PN}{3,4,6}.hi + dodir /var/games/${PN} + touch "${ED}"/var/games/${PN}/${PN}{3,4,6}.hi || die "touch failed" - fowners root:gamestat /var/lib/${PN} /usr/bin/${PN} + fowners :gamestat /var/games/${PN}{,/${PN}{3,4,6}.hi} /usr/bin/${PN} + fperms 660 /var/games/${PN}/${PN}{3,4,6}.hi fperms g+s /usr/bin/${PN} make_desktop_entry xbomb XBomb |