From 83979d829f5afd284ca53e2e5bb783c65f3f04a4 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 24 Jun 2018 20:26:27 +0200 Subject: [PATCH] app-editors/oni: initial import --- packages/app-editors/oni/oni-0.3.6.exheres-0 | 96 ++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 packages/app-editors/oni/oni-0.3.6.exheres-0 diff --git a/packages/app-editors/oni/oni-0.3.6.exheres-0 b/packages/app-editors/oni/oni-0.3.6.exheres-0 new file mode 100644 index 00000000..69d412ce --- /dev/null +++ b/packages/app-editors/oni/oni-0.3.6.exheres-0 @@ -0,0 +1,96 @@ +# Copyright 2018 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require desktop-utils gtk-icon-cache freedesktop-desktop + +SUMMARY="An IDE powered by Neovim" +HOMEPAGE="https://www.onivim.io/" +DOWNLOADS=" +platform:amd64? ( https://github.com/onivim/oni/releases/download/v${PV}/Oni-${PV}-x64-linux.tar.gz ) + https://aur.archlinux.org/cgit/aur.git/plain/icons.tar.gz?h=oni -> oni-icons.tar.gz +" + +LICENCES="MIT" +SLOT="0" +PLATFORMS="~amd64" +MYOPTIONS=" + ( platform: amd64 ) +" + +DEPENDENCIES=" + run: + app-editors/neovim + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-platform/GConf:2 + media-libs/fontconfig + net-print/cups + sys-apps/dbus + sys-sound/alsa-lib + x11-libs/cairo + x11-libs/gdk-pixbuf:2.0 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxcb + x11-libs/libxkbfile + x11-libs/pango +" + +BUGS_TO="hasufell@posteo.de" +REMOTE_IDS="github:onivim/${PN}" +UPSTREAM_DOCUMENTATION="https://onivim.github.io/oni-docs/" + +WORK=${WORKBASE}/Oni-${PV}-x64-linux + +pkg_setup() { + exdirectory --allow /opt +} + +src_install() { + insinto /opt/${PN} + doins -r * + chmod +x "${IMAGE}"/opt/${PN}/oni + + herebin ${PN} <