summaryrefslogtreecommitdiff
path: root/games-arcade/aop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /games-arcade/aop
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'games-arcade/aop')
-rw-r--r--games-arcade/aop/Manifest2
-rw-r--r--games-arcade/aop/aop-0.6-r2.ebuild (renamed from games-arcade/aop/aop-0.6-r1.ebuild)21
2 files changed, 14 insertions, 9 deletions
diff --git a/games-arcade/aop/Manifest b/games-arcade/aop/Manifest
index 92a8233e1643..3a273d19b550 100644
--- a/games-arcade/aop/Manifest
+++ b/games-arcade/aop/Manifest
@@ -1,4 +1,4 @@
AUX aop-0.6-as-needed.patch 207 BLAKE2B f2baabf390d7376b55a815c256d0c63194a16d822abfbbc7103cd08463e6b193d443c0404cd691085f8a8a849cc14de98c642ff177ce7b6dae5d0e250bc264fc SHA512 4da201cc444e943f21287208944dae0fa981697af97618268ff94699f1ec52c8fcabcbe2b609f3ab36f4c19fdfdf4c76f7acbcfebe6978bb2740ba02a6c8ecc7
DIST aop-0.6.tar.gz 11811 BLAKE2B 9b8a278ac4afb33dc9bb79d92343f9cf0fb4968aae04898700c948d01788cf33523989583ef39661142e0078e31488b24f8bf1a6bd9586e00afc4f7248fc8ca1 SHA512 0ce37647a0832b17e23df409633952f902e02666fa536cc4393a35bf91b245a501feeb4f14fd16d1a1d5c4f39682dad18a8e671e107e96cf5ba9c89965f8a77c
-EBUILD aop-0.6-r1.ebuild 663 BLAKE2B 764e4c1d22d70b7101edff9fa5ac5e582395b727cb43a02f44d290073ac7a584594c853211eed3a60de73422407791f365375d4da468f65a41754a69d74fcff5 SHA512 d51806af16deb45fbd9a56021229a8fed61569d97478bbf677a1575de9b63019f62d95cea5e6202a141c258d88e7d21da7aedd26e69b50abad1aa01465db32b0
+EBUILD aop-0.6-r2.ebuild 670 BLAKE2B 75ba25bbcbba898505ed9529d665129719c569f51677268d937f3862e3b039934d2c7582c8a6afe0c9dd4e1e67fc02a0358ff5f05e1ed69a1d18b4f8840245e7 SHA512 6b5044f4ea693481933b972b9a3700e9ee0f27aa3474b0ce7e0eeacb8961a4bbd2fda573f72307b411c5a72a248741560298f94a381f9caf212eff6c8c7f6b45
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/aop/aop-0.6-r1.ebuild b/games-arcade/aop/aop-0.6-r2.ebuild
index c5edb52f234a..d0849e3b9401 100644
--- a/games-arcade/aop/aop-0.6-r1.ebuild
+++ b/games-arcade/aop/aop-0.6-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="Ambassador of Pain is a curses based game with only 64 lines of code"
HOMEPAGE="http://raffi.at/view/code/aop"
@@ -10,23 +10,28 @@ SRC_URI="http://www.raffi.at/code/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
RDEPEND="sys-libs/ncurses:0"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+)
src_prepare() {
default
+
sed -i \
- -e "s#/usr/local/share#${GAMES_DATADIR}#" \
+ -e "s#/usr/local/share#/usr/share/${PN}#" \
aop.c || die
- eapply "${FILESDIR}"/${P}-as-needed.patch
}
src_install() {
dobin aop
- insinto "/usr/shate/${PN}"
+
+ insinto "/usr/share/${PN}"
doins aop-level-*.txt
+
einstalldocs
}