Сравнение adom-1.1.1-r2 с adom-3.3.3-r1
/usr/portage/games-roguelike/adom/adom-3.3.3-r1.ebuild 2023-10-09 14:52:31.124368391 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit edos2unix |
|
6 |
MY_P="${PN}_linux_debian" |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Ancient Domains Of Mystery rogue-like game" |
9 | 9 |
HOMEPAGE="https://www.adom.de/" |
10 |
SRC_URI="https://www.adom.de/adom/download/linux/${P//.}-elf.tar.gz" |
|
11 |
S="${WORKDIR}"/${PN} |
|
10 |
SRC_URI="x86? ( https://www.adom.de/home/download/current/${MY_P}_32_${PV}.tar.gz -> ${P}_x86.tar.gz ) |
|
11 |
amd64? ( https://www.adom.de/home/download/current/${MY_P}_64_${PV}.tar.gz -> ${P}_amd64.tar.gz )" |
|
12 |
S="${WORKDIR}"/adom |
|
12 | 13 | |
13 | 14 |
LICENSE="adom" |
14 | 15 |
SLOT="0" |
15 | 16 |
KEYWORDS="~amd64 ~x86" |
17 |
RESTRICT="strip" # The executable is pre-stripped |
|
16 | 18 | |
17 |
# bug #137340 |
|
18 |
RESTRICT="strip" |
|
19 | 19 |
QA_FLAGS_IGNORED="/opt/bin/adom" |
20 | ||
21 | 20 |
RDEPEND="sys-libs/ncurses-compat:5[abi_x86_32(-)]" |
22 | 21 | |
22 |
DOCS=( "docs/adomfaq.txt" "docs/credits.txt" "docs/manual.txt" "docs/readme1st.txt" ) |
|
23 | ||
23 | 24 |
src_install() { |
24 | 25 |
exeinto /opt/bin |
25 | 26 |
doexe adom |
26 | 27 | |
27 |
insinto /etc |
|
28 |
echo "${EPREFIX}"/var/lib/${PN} > adom_ds.cfg || die |
|
29 |
doins adom_ds.cfg |
|
30 | ||
31 |
edos2unix adomfaq.txt |
|
32 |
dodoc adomfaq.txt manual.doc readme.1st |
|
33 | ||
34 |
keepdir /var/lib/${PN} |
|
35 |
fperms g+w /var/lib/${PN} |
|
28 |
einstalldocs |
|
36 | 29 |
} |