|
Line 5
Link Here
|
| 5 |
EAPI="1" |
5 |
EAPI="2" |
| 6 |
-- |
|
|
|
Lines 30-50
Link Here
|
| 30 |
src_unpack() { |
|
|
| 31 |
unpack ${A} |
| 32 |
cd "${S}" |
| 33 |
sed -i \ |
| 34 |
-e 's#/pl/#/pl.UTF-8/#' \ |
| 35 |
docs/pl/Makefile || die "sed failed" |
| 36 |
|
| 37 |
sed -i \ |
| 38 |
-e 's/ISO-8859-1/UTF-8/' \ |
| 39 |
lib/gconsole.py || die "sed failed" |
| 40 |
|
| 41 |
epatch \ |
| 42 |
"${FILESDIR}/0.9.6-moving_share_dir.patch" \ |
| 43 |
"${FILESDIR}/${PV}-fix_spellcheck.patch" |
| 44 |
} |
| 45 |
|
| 46 |
src_compile() { |
| 47 |
# Nothing to compile and default `emake` spews an error message |
| 48 |
true |
| 49 |
} |
| 50 |
|
|
Line 53
Link Here
|
| 53 |
|
|
|
|
Lines 55-57
Link Here
|
| 55 |
emake \ |
33 |
emake DESTDIR="${D}" install || die "emake install failed" |
| 56 |
LIBDIR="${D}/usr/$(get_libdir)/griffith" \ |
|
|
| 57 |
DESTDIR="${D}" DOC2MAN=docbook2man.pl install || die "emake install failed" |
| 58 |
-- |
|
Line 59
Link Here
|
| 59 |
|
|
|
|
Lines 63-70
Link Here
|
| 63 |
|
|
|
| 64 |
pkg_postinst() { |
| 65 |
python_mod_optimize /usr/$(get_libdir)/${PN} |
| 66 |
} |
| 67 |
|
| 68 |
pkg_postrm() { |
| 69 |
python_mod_cleanup /usr/$(get_libdir)/${PN} |
| 70 |
} |