Skip to content

Commit e1ada5f

Browse files
committed
New package: lean4-4.26.0
1 parent 864c248 commit e1ada5f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

srcpkgs/lean4-devel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lean4

srcpkgs/lean4/template

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Template file for 'lean4'
2+
pkgname=lean4
3+
version=4.26.0
4+
revision=1
5+
build_style=cmake
6+
make_cmd=make
7+
hostmakedepends="pkg-config"
8+
makedepends="gmp-devel libuv-devel git make mimalloc"
9+
short_desc="Lean 4 programming language and theorem prover"
10+
maintainer="Komeil Parseh <[email protected]>"
11+
license="Apache-2.0 WITH LLVM-exception"
12+
homepage="https://lean-lang.org/"
13+
changelog="https://lean-lang.org/doc/reference/latest/releases/v${version}"
14+
distfiles="https://github.com/leanprover/lean4/archive/refs/tags/v${version}.tar.gz"
15+
checksum=668b8a0e717a5bffbf049125185ca1162c6960ee0387b24d95691f181e8a77c3
16+
17+
export CMAKE_GENERATOR="Unix Makefiles"
18+
19+
post_install() {
20+
vlicense LICENSE
21+
vlicense LICENSES
22+
}
23+
24+
lean4-devel_package() {
25+
depends="${sourcepkg}>=${version}_${revision}"
26+
short_desc+=" - development files"
27+
pkg_install() {
28+
vmove usr/include
29+
vmove usr/src
30+
vmove "usr/lib/*.a"
31+
}
32+
}

0 commit comments

Comments
 (0)