Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
83ec9144
Commit
83ec9144
authored
2 years ago
by
rubicon
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/ocaml-charinfo_width: new aport, needed by ocaml-zed
parent
d8ac7a7a
No related branches found
No related tags found
1 merge request
!34358
testing/ocaml-*: bring the rest of the OCaml aports up to date, and bring utop back from unmaintained
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/ocaml-charinfo_width/APKBUILD
+68
-0
68 additions, 0 deletions
testing/ocaml-charinfo_width/APKBUILD
with
68 additions
and
0 deletions
testing/ocaml-charinfo_width/APKBUILD
0 → 100644
+
68
−
0
View file @
83ec9144
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer:
pkgname
=
ocaml-charinfo_width
_pkgname
=
charInfo_width
pkgver
=
1.1.0
pkgrel
=
0
pkgdesc
=
"Determine column width for a character in OCaml"
url
=
"https://github.com/kandu/charinfo_width/"
arch
=
"all !riscv64"
# restricted by ocaml
license
=
"MIT"
depends
=
"ocaml-runtime"
depends_dev
=
"
$pkgname
=
$pkgver
-r
$pkgrel
"
makedepends
=
"
dune
ocaml
ocaml-camomile-dev
ocaml-ocamlbuild-dev
ocaml-result-dev
"
options
=
"!check"
# needs ocaml-ppx_expect-dev
subpackages
=
"
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/kandu/charInfo_width/archive/
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
# 32-bit archs
case
"
$CARCH
"
in
arm
*
|
x86
)
options
=
"
$options
textrels"
;;
esac
build
()
{
export
OCAMLPATH
=
/usr/lib/ocaml
dune build
--root
.
@install
--no-buffer
--verbose
}
check
()
{
dune runtest
--no-buffer
--verbose
}
package
()
{
dune
install
\
--destdir
=
"
$pkgdir
"
\
--prefix
=
/usr
\
--libdir
=
/usr/lib/ocaml
rm
-Rf
"
$pkgdir
"
/usr/doc
}
dev
()
{
default_dev
cd
"
$pkgdir
"
local
path
;
for
path
in
$(
find usr/lib/ocaml
\(
\
-name
'*.cmt'
-o
\
-name
'*.cmti'
-o
\
-name
'*.cmx'
-o
\
-name
'*.cmxa'
-o
\
-name
'*.ml'
-o
\
-name
'*.mli'
\
\)
)
do
amove
"
$path
"
done
}
sha512sums
=
"
c8dac9eb6f520213de69b23433e2f0d6a21578c70ae69fb682065e707363968959395a6ddc6c88893e08372a138287318634b52a8b4fb70ac988b4ad4a18b140 ocaml-charinfo_width-1.1.0.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment