app-editors/notepadqq: bump to 1.2.0

This commit is contained in:
Julian Ospald 2017-11-25 13:43:48 +01:00
parent a60fdfc9f8
commit 08bcbf107c

View File

@ -7,9 +7,6 @@ require gtk-icon-cache freedesktop-desktop
SUMMARY="Notepad++-like editor for Linux" SUMMARY="Notepad++-like editor for Linux"
HOMEPAGE="http://notepadqq.altervista.org/ ${HOMEPAGE}" HOMEPAGE="http://notepadqq.altervista.org/ ${HOMEPAGE}"
# submodule, no proper source archive
# https://github.com/notepadqq/notepadqq/issues/369
DOWNLOADS+=" https://github.com/notepadqq/CodeMirror/archive/d790fc39c1a5f06aa66415110b8ebe3026df665a.tar.gz -> CodeMirror-d790.tar.gz"
LICENCES="GPL-3" LICENCES="GPL-3"
SLOT="0" SLOT="0"
@ -34,13 +31,6 @@ EQMAKE_PARAMS=(
LRELEASE="/usr/$(exhost --target)/bin/lrelease-qt5" LRELEASE="/usr/$(exhost --target)/bin/lrelease-qt5"
) )
src_unpack() {
unpack CodeMirror-d790.tar.gz
default
edo rmdir "${WORK}"/src/editor/libs/codemirror
edo mv "${WORKBASE}"/CodeMirror-* "${WORK}"/src/editor/libs/codemirror
}
src_install() { src_install() {
emake INSTALL_ROOT="${IMAGE}" install emake INSTALL_ROOT="${IMAGE}" install
edo find "${IMAGE}" -type d -empty -delete edo find "${IMAGE}" -type d -empty -delete