1
0
mirror of synced 2024-12-22 21:00:20 +01:00

games-strategy/julius: using standard cmake functions and renaming

the executable in order to mitigate collision with app-accessibility/julius

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2020-05-05 15:50:36 -04:00
parent 4accbac84a
commit 04947a0cd3
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
3 changed files with 9 additions and 9 deletions

View File

@ -1,3 +1,7 @@
05 May 2020; <chymera@gentoo.org> files/90julius.sh, julius-1.3.1.ebuild:
games-strategy/julius: using standard cmake functions and renaming the
executable in order to mitigate collision with app-accessibility/julius
04 May 2020; <chymera@gentoo.org> julius-1.3.1.ebuild: 04 May 2020; <chymera@gentoo.org> julius-1.3.1.ebuild:
games-strategy/julius: updated post-install instructions games-strategy/julius: updated post-install instructions

View File

@ -1,2 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
alias julius='julius ~/.cache/julius/app' alias julius-game='julius-game ~/.cache/julius/app'

View File

@ -21,22 +21,18 @@ DEPEND="
" "
RDEPEND="" RDEPEND=""
src_compile() {
mkdir build
pushd build > /dev/null
cmake .. && emake
popd > /dev/null
}
src_test() { src_test() {
sed -i -e "s: && cd \.\. && \./coverage.sh::" runtests.sh || die sed -i -e "s: && cd \.\. && \./coverage.sh::" runtests.sh || die
./runtests.sh || die "test phase failed" ./runtests.sh || die "test phase failed"
} }
src_install() { src_install() {
dobin build/julius
insinto /etc/profile.d insinto /etc/profile.d
doins "${FILESDIR}"/90julius.sh doins "${FILESDIR}"/90julius.sh
cmake-utils_src_install
newbin "${BUILD_DIR}"/julius Julius
mv "${ED}"/usr/bin/julius "${ED}"/usr/bin/julius-game ||
die "Failed to rename executable (required as per conflict with app-accessibility/julius)"
} }
pkg_postinst() { pkg_postinst() {