summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-11-07 20:00:37 -0800
committerZac Medico <zmedico@gentoo.org>2016-11-07 20:17:18 -0800
commit54239fa8cac4322a31128d0e03ed79ca2b202a24 (patch)
tree10dfbb137727e162589895efc2e020659ffd878b /dev-util/editorconfig-geany
parentapp-text/editorconfig-core-c: add package (diff)
downloadgentoo-54239fa8cac4322a31128d0e03ed79ca2b202a24.tar.gz
gentoo-54239fa8cac4322a31128d0e03ed79ca2b202a24.tar.bz2
gentoo-54239fa8cac4322a31128d0e03ed79ca2b202a24.zip
dev-util/editorconfig-geany: add package
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-util/editorconfig-geany')
-rw-r--r--dev-util/editorconfig-geany/Manifest1
-rw-r--r--dev-util/editorconfig-geany/editorconfig-geany-0.1_p20160725.ebuild34
-rw-r--r--dev-util/editorconfig-geany/metadata.xml10
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/editorconfig-geany/Manifest b/dev-util/editorconfig-geany/Manifest
new file mode 100644
index 000000000000..ad343179b1b1
--- /dev/null
+++ b/dev-util/editorconfig-geany/Manifest
@@ -0,0 +1 @@
+DIST editorconfig-geany-0.1_p20160725.tar.gz 10336 SHA256 9674a2d1575899c7fe65e8bfe78aed04bd063d5af02de343e85a1a8fbdbc24b0 SHA512 ac8c4d46c17a5592c8f75a4100cfa1eaa55cb5333a1a6330ae84249d6df3b9ae4b454ee9c68b88ad777f5bea22ad1f3ce0a63bf89a1dd41d13abcfbd2a585734 WHIRLPOOL 9b4b28dd995b09141c88da1df680d5ceb3d0cec09a1c5fbc3b357c8d3d886b9308ac8260cefe321b958759aa1bae03f42303dd95e8a8853d69f0a08281aa26f2
diff --git a/dev-util/editorconfig-geany/editorconfig-geany-0.1_p20160725.ebuild b/dev-util/editorconfig-geany/editorconfig-geany-0.1_p20160725.ebuild
new file mode 100644
index 000000000000..66c88df3eec2
--- /dev/null
+++ b/dev-util/editorconfig-geany/editorconfig-geany-0.1_p20160725.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="EditorConfig plugin for Geany"
+HOMEPAGE="https://github.com/editorconfig/${PN}/"
+EGIT_COMMIT="9dce3bb476728a8f4124aefe12e0a4ffc8567dff"
+SRC_URI="https://github.com/editorconfig/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="app-text/editorconfig-core-c:="
+RDEPEND="${DEPEND}"
+S=${WORKDIR}/${PN}-${EGIT_COMMIT}
+
+src_prepare() {
+ eapply_user
+ sed -e "s|^\\(EDITORCONFIG_PREFIX =\\).*|\\1 ${EPREFIX}/usr|" \
+ -e "s|^\\(CFLAGS =\\).*|\\1 -fPIC $("$(tc-getPKG_CONFIG)" --cflags geany geany) ${CFLAGS}|" \
+ -e "s|\`pkg-config[^\`]*\`||" \
+ -i Makefile || die
+}
+
+src_install() {
+ exeinto "$("$(tc-getPKG_CONFIG)" --variable=libdir geany)/geany"
+ doexe ${PN}.so
+ dodoc README.md
+}
diff --git a/dev-util/editorconfig-geany/metadata.xml b/dev-util/editorconfig-geany/metadata.xml
new file mode 100644
index 000000000000..fdf1680257c9
--- /dev/null
+++ b/dev-util/editorconfig-geany/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">editorconfig/editorconfig-geany</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>