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 Package: mlton-20210117 #44621

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions srcpkgs/mlton/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Template file for 'mlton'
pkgname=mlton
version=20210117
revision=1
archs="x86_64"
build_style=gnu-makefile
hostmakedepends="wget gcc make tar patch"
makedepends="gmp-devel"
build_wrksrc="mlton-$version/"
short_desc="Optimizing compiler for the Standard ML programming language"
maintainer="Adam Pschorr <adampschorr13@aol.com>"
license="HPND"
homepage="http://www.mlton.org/"
distfiles="https://github.com/MLton/mlton/releases/download/on-$version-release/mlton-$version.src.tgz
https://github.com/MLton/mlton/releases/download/on-$version-release/mlton-$version-1.amd64-linux-glibc2.31.tgz"
checksum="ec7a5a54deb39c7c0fa746d17767752154e9cb94dbcf3d15b795083b3f0f154b
749cb59d6baccd644143709be866105228d2b6dcd40c507a90b89c9b5e0f45d2"

post_extract() {
cd $wrksrc/mlton-$version-1.amd64-linux-glibc2.31
make
}

post_install() {
vlicense LICENSE
}
2 changes: 2 additions & 0 deletions srcpkgs/mlton/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site="https://github.com/MLton/mlton/releases"
pattern="on-\K[0-9]+(?=-release)"