Commit c453fbfc authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] ocaml-topkg: import as ocaml-integers makedeps

parent 915b7669
Pipeline #3368 skipped
# Contributions from Arch:
# Maintainer: Jürgen Hötzel <juergen@archlinux.org>
pkgname=ocaml-topkg
pkgver=1.0.0
pkgrel=1
pkgdesc="A packager for distributing OCaml software"
arch=('x86_64')
url="http://erratique.ch/software/topkg"
license=('BSD')
depends=('ocaml' 'ocaml-result')
makedepends=('ocaml-findlib' 'ocamlbuild' 'opam' 'ocaml-compiler-libs')
source=("http://erratique.ch/software/topkg/releases/topkg-${pkgver}.tbz")
md5sums=('e3d76bda06bf68cb5853caf6627da603')
build() {
cd "${srcdir}/topkg-${pkgver}"
pkg/pkg.ml build --pkg-name topkg
}
package() {
cd "${srcdir}/topkg-${pkgver}"
opam-installer --prefix="${pkgdir}/usr" \
--libdir="${pkgdir}$(ocamlc -where)" \
--docdir="${pkgdir}/usr/share/doc"
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/usr/share/doc/topkg/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment