diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-11-23 02:54:42 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-11-23 02:54:42 +0200 |
commit | 1238035ec8fec80f4ec9401926b984815ab0a4e8 (patch) | |
tree | 0553288e2b2949e87592556cbc6959e04a4ce52f | |
parent | 21f0f4c17e9dc3b360f5df22540d06db26e13fb7 (diff) |
Corrected a few issues in liteide ebuild
-rw-r--r-- | app-editors/liteide/liteide-9999.ebuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/app-editors/liteide/liteide-9999.ebuild b/app-editors/liteide/liteide-9999.ebuild index a8dc6534..a30938fd 100644 --- a/app-editors/liteide/liteide-9999.ebuild +++ b/app-editors/liteide/liteide-9999.ebuild @@ -15,9 +15,9 @@ SLOT="0" IUSE="ordered release" DEPEND="dev-lang/go - dev-qt/qtgui - dev-qt/qtdbus - dev-qt/qtwebkit" + dev-qt/qtgui:4 + dev-qt/qtdbus:4 + dev-qt/qtwebkit:4" RDEPEND="${DEPEND}" S="${WORKDIR}"/"${PN}"-"${PV}"/ @@ -30,20 +30,20 @@ src_configure() { local conf_release local conf_ordered - if use ordered ; then + if use ordered; then conf_ordered="CONFIG+=ordered" conf_release="" - else + else conf_release="CONFIG+=release" conf_ordered="" fi - cd "${S}"/liteidex/ + cd "${S}"/liteidex/ || die eqmake4 "${S}"/liteidex/liteidex.pro "PREFIX=${EPREFIX}/usr" "LIBDIR=/usr/$(get_libdir)" ${conf_release} ${conf_ordered} } src_install() { - cd "${S}"/liteidex/ + cd "${S}"/liteidex/ || die qt4-r2_src_install DESTDIR="${D}"opt/${PN}/ INSTALL_ROOT="${D}"opt/${PN}/ || die export GOPATH=$(pwd) @@ -85,4 +85,7 @@ src_install() { fperms u+x /opt/${PN}/bin/goapi fperms u+x /opt/${PN}/bin/godocview fperms u+x /opt/${PN}/bin/goexec + + dodir /usr/bin + dosym /opt/${PN}/bin/${PN} /usr/bin/${PN} } |