forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-board/sjeng: apply debian patches
Install missing files Closes: https://bugs.gentoo.org/707270 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Alexey Sokolov <[email protected]> Closes: gentoo#17407 Signed-off-by: James Le Cuirot <[email protected]>
- Loading branch information
1 parent
e707ffb
commit f8b267e
Showing
3 changed files
with
46 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST Sjeng-Free-11.2.tar.gz 174019 BLAKE2B c50f312ce4f569b17cf7f240fe27e9d6d27e83e260c7549ba13ee612a357700b1642c2b274637af3e0e0f45c35e46f088cdcd5dce6bb62591ef600b97d8c6d6b SHA512 cda3409d732ac1b07e83ccc0d3063d24497651097c633500dfca66fbb3021532053082ac57a5e23909dd1016a2bae07f166e56b82c4ce834749a101c9ee444b8 | ||
DIST sjeng_11.2-8.1.diff.gz 13341 BLAKE2B 187cb85e504511504ee9ed8bc2c6d6c19815e3e267099f1e98ea8964145e81074e2dd6b298dba76e91e2824dec1b4c6ac3d43b24f1ab970362c3bf07da87541d SHA512 2d470e0bee12a5f06808653ab3607301622d8e4f802295c04853b973c553074850c1fed278fe4696a652773af71dcac461d428d7f776d5a967256c4f39c627c9 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit prefix | ||
|
||
MY_PV=$(ver_cut 1-2) | ||
# 11.2_p8_p1 -> 11.2-8.1 | ||
MY_DEB_PV="${MY_PV}-$(ver_cut 4).$(ver_cut 6)" | ||
|
||
DESCRIPTION="Console based chess interface" | ||
HOMEPAGE="http://sjeng.sourceforge.net/" | ||
SRC_URI=" | ||
mirror://sourceforge/sjeng/Sjeng-Free-${MY_PV}.tar.gz | ||
http://deb.debian.org/debian/pool/main/s/sjeng/sjeng_${MY_DEB_PV}.diff.gz | ||
" | ||
|
||
LICENSE="GPL-2" | ||
KEYWORDS="~amd64 ~x86" | ||
SLOT="0" | ||
IUSE="" | ||
|
||
RDEPEND="sys-libs/gdbm:0=" | ||
DEPEND="${RDEPEND}" | ||
BDEPEND="dev-util/quilt" | ||
|
||
S="${WORKDIR}/Sjeng-Free-${MY_PV}" | ||
|
||
src_prepare() { | ||
default | ||
|
||
eapply "${WORKDIR}/sjeng_${MY_DEB_PV}.diff" | ||
QUILT_PATCHES="debian/patches" QUILT_SERIES="debian/patches/series" quilt push -a || die | ||
hprefixify book.c rcfile.c | ||
} | ||
|
||
src_install() { | ||
default | ||
|
||
insinto /etc | ||
doins sjeng.rc | ||
insinto /usr/share/games/sjeng | ||
doins books/*.opn || die | ||
} |