diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-06-06 02:56:41 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-06-11 17:23:09 +0200 |
commit | e3863fd623c9f6086063c46f3727e678410c5114 (patch) | |
tree | a212eb070ea3ae8c2bd21c996d3a208006b8adf8 /app-dicts | |
parent | app-dicts/dictd-devils: missing unzip (diff) | |
download | guru-e3863fd623c9f6086063c46f3727e678410c5114.tar.gz guru-e3863fd623c9f6086063c46f3727e678410c5114.tar.bz2 guru-e3863fd623c9f6086063c46f3727e678410c5114.zip |
app-dicts/dictd-devils: fixes
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'app-dicts')
-rw-r--r-- | app-dicts/dictd-devils/dictd-devils-20150822.ebuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild index 40408b401..b6cfce5d5 100644 --- a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild +++ b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild @@ -22,11 +22,13 @@ PATCHES=( "${FILESDIR}/format.patch" ) src_prepare() { eapply_user - sed -e 's/\r//g' -i 972.txt - sed -e "/^ *THE DEVIL'S DICTIONARY/,/^End of Project Gutenberg's The Devil's Dictionary/!{w COPYING.gutenberg" -e 'd}' -i 972.txt - sed -e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' -i 972.txt - sed -e "s/^\\([A-Zor .'?-]*[^,A-Zor .'?-]\\)/ \1/" -i 972.txt - sed -e '/^ /y/,/\a/' -i 972.txt + sed \ + -e 's/\r//g' \ + -e "/^ *THE DEVIL'S DICTIONARY/,/^End of Project Gutenberg's The Devil's Dictionary/!{w COPYING.gutenberg" -e 'd}' \ + -e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' \ + -e "s/^\\([A-Zor .'?-]*[^,A-Zor .'?-]\\)/ \1/" \ + -e '/^ /y/,/\a/' \ + -i 972.txt || die } src_compile() { @@ -34,12 +36,12 @@ src_compile() { -s "The Devil's Dictionary (2015-08-22 Project Gutenberg version)" \ --headword-separator " or " \ --columns 80 \ - -h devils - sed -e 'y/\a/,/' -i devils.dict - dictzip devils.dict + -h devils || die + sed -e 'y/\a/,/' -i devils.dict || die + dictzip devils.dict || die } src_install() { - insinto /var/dict + insinto /usr/share/dict doins devils.dict.dz devils.index } |