Skip to content

Commit

Permalink
dev-ml/zed: convert to opam.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
aballier committed Aug 2, 2017
1 parent b069fa7 commit 0ebbfe9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions dev-ml/zed/zed-1.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

EAPI=5

inherit opam

DESCRIPTION="Zed is an abstract engine for text edition"
HOMEPAGE="https://github.com/diml/zed"
SRC_URI="https://github.com/diml/zed/archive/${PV}.tar.gz -> ${P}.tar.gz"
Expand All @@ -18,18 +20,8 @@ DEPEND="
dev-ml/react:="
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/opam
dev-ml/jbuilder"

src_compile() {
jbuilder build --only-packages zed @install || die
}

src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
dodoc CHANGES.md README.md
}

0 comments on commit 0ebbfe9

Please sign in to comment.