Skip to content

Commit

Permalink
app-vim/vim2hs: new package.
Browse files Browse the repository at this point in the history
vim2hs is a collection of vimscripts for Haskell development.

Closes: https://bugs.gentoo.org/476450
Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
monsieurp committed Nov 5, 2017
1 parent 86c0130 commit 3eb669f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-vim/vim2hs/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST vim2hs-0.1_p20171106.tar.gz 259627 SHA256 7190ad8b7f205331d6485b584acfdca6c0b45aed4e5242e482110d17871bc728 SHA512 835ea1344f055af06843a327bf7294ae9fe0e735455b3c21d4fba56eab75f19b578ff8cd962f6527efee0e0f89084c9c2cd86d3944e0ac35b89b33a6047df4a0 WHIRLPOOL 40caa6f1fccd6b344e8b808c99387c4ecceec935fce219ba42587e59b9a390fc23e99c8bbbf7e7933a3c95975dc773c0be5363aee6ebaf6e4ac1b3131c891711
11 changes: 11 additions & 0 deletions app-vim/vim2hs/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo Vim Project</name>
</maintainer>
<upstream>
<remote-id type="github">dag/vim2hs</remote-id>
</upstream>
</pkgmetadata>
31 changes: 31 additions & 0 deletions app-vim/vim2hs/vim2hs-0.1_p20171106.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit vim-plugin

# Commit Date: 16 Apr 2014
COMMIT="f2afd55704bfe0a2d66e6b270d247e9b8a7b1664"

DESCRIPTION="vim plugin: collection of vimscripts for Haskell development"
HOMEPAGE="https://github.com/dag/vim2hs"
SRC_URI="https://github.com/dag/vim2hs/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
KEYWORDS="~amd64 ~x86"

RDEPEND="dev-lang/ghc"

S="${WORKDIR}/${PN}-${COMMIT}"

src_compile() { :; }

src_install() {
# We want a stripped-down version of these.
local f
for f in screenshots/*; do
bzip2 -9 "${f}" || die
done
vim-plugin_src_install
}

0 comments on commit 3eb669f

Please sign in to comment.