summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-09-06 00:05:16 +0100
committerJames Le Cuirot <chewi@gentoo.org>2020-09-06 00:07:25 +0100
commit5076a5d39849249f0ddc424bf5e36b69aa167892 (patch)
tree750fb303692fe6f8889cb2e7827ca777322de1c1 /games-action
parentgames-action/descent2-demodata: Use arj instead of unarj, EAPI 7 (diff)
downloadgentoo-5076a5d39849249f0ddc424bf5e36b69aa167892.tar.gz
gentoo-5076a5d39849249f0ddc424bf5e36b69aa167892.tar.bz2
gentoo-5076a5d39849249f0ddc424bf5e36b69aa167892.zip
games-action/descent2-data: Use arj instead of unarj
unarj has a problematic license. Unlike descent2-demodata, this is untested as I don't have the CD but this case is much simpler so it should work. Bug: https://bugs.gentoo.org/694746 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/descent2-data/descent2-data-1.2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-action/descent2-data/descent2-data-1.2.ebuild b/games-action/descent2-data/descent2-data-1.2.ebuild
index 4ca0152d5ff..175865f367a 100644
--- a/games-action/descent2-data/descent2-data-1.2.ebuild
+++ b/games-action/descent2-data/descent2-data-1.2.ebuild
@@ -28,7 +28,7 @@ RDEPEND="!<games-action/d2x-0.2.5-r3
!games-action/descent2-demodata"
DEPEND="cdinstall? (
- app-arch/unarj
+ app-arch/arj
dev-util/xdelta:3
)
!cdinstall? (
@@ -52,7 +52,7 @@ src_unpack() {
case ${CDROM_SET} in
0)
einfo "Found Descent 2 CD"
- unarj e "${CDROM_ABSMATCH}" || die ;;
+ arj e -y -_ "${CDROM_ABSMATCH}" || die ;;
1)
einfo "Found Descent 2 installation"
cd "${CDROM_ABSMATCH%/*}" || die ;;