# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=6
inherit elisp elisp-common eutils
-if [ "${PV}" = "9999" ]; then
+if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git"
- inherit git-2
- SRC_URI=""
- KEYWORDS=""
+ inherit git-r3
IUSE="doc"
else
SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
src_compile() {
elisp-compile twittering-mode.el || die
- [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+ [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual
}
src_test() {
}
src_install() {
- [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+ [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html
elisp-install ${PN} twittering-mode.el *.elc || die
}
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=6
inherit elisp elisp-common eutils
-if [ "${PV}" = "9999" ]; then
+if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git"
- inherit git-2
- SRC_URI=""
- KEYWORDS=""
+ inherit git-r3
IUSE="doc"
else
SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
src_compile() {
elisp-compile twittering-mode.el || die
- [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+ [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual
}
src_test() {
}
src_install() {
- [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+ [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html
elisp-install ${PN} twittering-mode.el *.elc || die
}
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=6
inherit elisp elisp-common eutils
-if [ "${PV}" = "9999" ]; then
+if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git"
- inherit git-2
- SRC_URI=""
- KEYWORDS=""
+ inherit git-r3
IUSE="doc"
else
SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
src_compile() {
elisp-compile twittering-mode.el || die
- [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+ [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual
}
src_test() {
}
src_install() {
- [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+ [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html
elisp-install ${PN} twittering-mode.el *.elc || die
}