Skip to content

Commit

Permalink
app-vim/haskellindent: switched to EAPI=5, updated SRC_URI
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information
Sergei Trofimovich committed Jul 22, 2013
1 parent 0533cb9 commit 561babd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 50 deletions.
2 changes: 1 addition & 1 deletion app-vim/haskellindent/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST download_script.php?src_id=7407 1954 SHA256 5bcb89c4292c73d1238b7f659754bbd1bd943f8693393685b4acc2e8a72444d2 SHA512 6f4990c3458fc24f6a1700a13048498691f492bdbf7cd74b5732b8e39bc59a7d8f9210927dc4430a4f57bed11fade9694097ca2cfad3d8c1216403e772ea85ac WHIRLPOOL 823453f1dd7377a1b075358df58097eede5f7e7f4d98b4b41257852daf59d57a8e04974a60df015763af67224a7e65bd4157c51ebb943da0e04292e3099b114e
DIST haskellindent-0.1.vim 1954 SHA256 5bcb89c4292c73d1238b7f659754bbd1bd943f8693393685b4acc2e8a72444d2 SHA512 6f4990c3458fc24f6a1700a13048498691f492bdbf7cd74b5732b8e39bc59a7d8f9210927dc4430a4f57bed11fade9694097ca2cfad3d8c1216403e772ea85ac WHIRLPOOL 823453f1dd7377a1b075358df58097eede5f7e7f4d98b4b41257852daf59d57a8e04974a60df015763af67224a7e65bd4157c51ebb943da0e04292e3099b114e
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

VIM_PLUGIN_VIM_VERSION="7.0"

inherit vim-plugin

DESCRIPTION="vim plugin: Indent settings and filetype detection for Haskell sources"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1968"
SRC_URI="http://www.vim.org/scripts/download_script.php?src_id=7407"
SRC_URI="http://www.vim.org/scripts/download_script.php?src_id=7407 -> ${P}.vim"

LICENSE="public-domain"
SLOT=0
Expand All @@ -32,13 +34,14 @@ Example vimrc:
VIM_PLUGIN_MESSAGES="filetype"

src_unpack() {
mkdir "${S}"
cd "${S}"
# empty src_unpack
mkdir "${S}" || die
}

mkdir indent
# wget doesn't map the URI to filename correctly.
cp "${DISTDIR}/download_script.php?src_id=7407" indent/haskell.vim
src_prepare() {
mkdir indent || die
cp "${DISTDIR}/${P}.vim" indent/haskell.vim || die

mkdir ftdetect
echo "au BufNewFile,BufRead *.hs set filetype=haskell" > ftdetect/haskell.vim
mkdir ftdetect || die
echo "au BufNewFile,BufRead *.hs set filetype=haskell" > ftdetect/haskell.vim || die
}
37 changes: 0 additions & 37 deletions app-vim/haskellindent/haskellindent-0.1.ebuild

This file was deleted.

8 changes: 4 additions & 4 deletions app-vim/haskellindent/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<maintainer>
<email>haskell@gentoo.org</email>
</maintainer>
<herd>haskell</herd>
<maintainer>
<email>haskell@gentoo.org</email>
</maintainer>
</pkgmetadata>

0 comments on commit 561babd

Please sign in to comment.