Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New packages: wyrd-1.5.3 and ocaml-curses-1.0.10 #37214

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions srcpkgs/ocaml-curses/template
@@ -0,0 +1,22 @@
# Template file for 'ocaml-curses'
pkgname=ocaml-curses
version=1.0.10
revision=1
wrksrc="curses-${version}"
hostmakedepends="dune base-devel"
makedepends="ncurses-devel"
short_desc="Objective Caml libs for curses"
maintainer="Barbaross <cullenrss@gmail.com>"
license="GPL-3.0-or-later"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGPL-2.1

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be "LGPL-2.1-or-later", according to https://github.com/mbacarella/curses/blob/main/curses.opam#L7

homepage="https://github.com/mbacarella/curses"
distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"
checksum=f09c9fe714f6b0895a5d2238418188e945be928d223c2bda4e9566c32e53f848

do_build() {
dune build --display=short
}

do_install() {
dune install --prefix=/usr --destdir="$DESTDIR" \
--libdir=/usr/lib/ocaml --docdir=/usr/share/doc
}