added postinstall-text, changed settings pfad to "~/.config/retext"

This commit is contained in:
Micha Glave 2012-04-23 12:38:32 +02:00
parent 988d9a58fa
commit 88ceea590e
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,3 @@
DIST ReTextIcons_r3.tar.gz 21946 RMD160 8bfcf03bafd2a25ef5792aff70489a65655064e5 SHA1 c51d4a687c21b7de3fd24a14a7ae16e9b0869e31 SHA256 13d61b338296c299f40ecb3a81271f67e61b3b9769ab8c381fafa5b2e48950d7
DIST ReText_3.0.2.tar.gz 92937 RMD160 25ef517683324d61405871ec66924171a96aeeb4 SHA1 23f11ca7697131e22c20703271a518a37e278b96 SHA256 62661b18dc4827d87ee7fd82b00f4d39bad4f0c157cdd18f3e46160c8214950a
EBUILD retext-3.0.2.ebuild 1049 RMD160 da4d8252473f0f023ac377b2f1b967547bfb2a0e SHA1 0022f05ab74bc71116c0681ce742933ff714a4ec SHA256 bceebfb79156fc4dafae2868288e9cfb5fbd7d6854873c4023a48443948f4247
EBUILD retext-3.0.2.ebuild 1286 RMD160 8643dc6a0beccda0b6d63ec698bf6bef7ebd48fd SHA1 0a6c2e73c65ea1cb8fbe849c41ff28a08e41b33f SHA256 72a0129ee5dc66b9627697225a1c219dac54c0bf95496b45f92c3a536d9ecb3f

View File

@ -34,6 +34,7 @@ src_unpack() {
src_prepare() {
sed -i -e "s:^\(icon_path = \).*:\1\"/usr/share/${PN}/icons\":" \
-e "s:\(wpgen/wpgen.py\):/usr/share/${PN}\1:" \
-e "s:\(QSettings('\)ReText project\(', 'ReText')\):\1retext\2:" \
retext.py
}
@ -43,3 +44,12 @@ src_install() {
insinto /usr/share/${PN}
doins -r icons locale wpgen
}
pkg_postinst() {
echo
elog
elog "To activate PHP Markdown Extra compatibility, add "
elog "mdExtensions=extra"
elog "to ~/.config/retext/ReText.conf "
elog
}