Skip to content

Commit

Permalink
app-dicts/aspell-be: take ownership
Browse files Browse the repository at this point in the history
Also slightly updated ebuild to make it uniform.

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <[email protected]>
  • Loading branch information
ConiKost committed Mar 12, 2021
1 parent f3d19aa commit 24e0767
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
10 changes: 7 additions & 3 deletions app-dicts/aspell-be/aspell-be-0.01-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@
EAPI=7

ASPELL_LANG="Belarusian"
ASPELL_VERSION=5
MY_P="${PN/aspell/aspell${ASPELL_VERSION}}-${PV}"

inherit aspell-dict-r1

SRC_URI="mirror://gnu/aspell/dict/be/aspell5-be-${PV}.tar.bz2"
S="${WORKDIR}/aspell5-be-${PV}"
SRC_URI="mirror://gnu/${PN%-*}/dict/${PN/aspell-/}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
IUSE="classic"

src_prepare() {
use classic || local PATCHES=( "${FILESDIR}"/aspell5-be-${PV}-official.patch )
! use classic && local PATCHES=( "${FILESDIR}"/aspell5-be-${PV}-official.patch )

default
}
8 changes: 4 additions & 4 deletions app-dicts/aspell-be/files/aspell5-be-0.01-official.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--- aspell5-be-0.01.orig/be_BY.alias 2004-07-06 00:40:25.000000000 +0300
+++ aspell5-be-0.01/be_BY.alias 2006-04-15 10:33:22.000000000 +0300
--- a/be_BY.alias
+++ b/be_BY.alias
@@ -1,2 +1,2 @@
# Generated with Aspell Dicts "proc" script version 0.60.2
-add be.multi
+add be_SU.multi
--- aspell5-be-0.01.orig/belarusian.alias 2004-07-06 00:40:25.000000000 +0300
+++ aspell5-be-0.01/belarusian.alias 2006-04-15 10:33:37.000000000 +0300
--- a/belarusian.alias
+++ b/belarusian.alias
@@ -1,2 +1,2 @@
# Generated with Aspell Dicts "proc" script version 0.60.2
-add be.multi
Expand Down
5 changes: 4 additions & 1 deletion app-dicts/aspell-be/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>[email protected]</email>
<name>Conrad Kostecki</name>
</maintainer>
<stabilize-allarches/>
<use>
<flag name="classic">Support classic spelling by default</flag>
Expand Down

0 comments on commit 24e0767

Please sign in to comment.