husk-lang
LOW
maintainer SoleSoul
0 votes
scanned 2026-10-18 09:21:55.083363
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Jonathan Lahav <j.lahav@gmail.com>
2
3
pkgname=husk-lang
4
_name=husk
5
pkgver=0.1.1
6
pkgrel=1
7
pkgdesc="A lightweight Haskell implementation compiled to Chez Scheme"
8
arch=('x86_64')
9
url="https://github.com/SoleSoul/husk"
10
license=('MIT')
11
depends=('chez-scheme')
12
optdepends=('rlwrap: line editing and history in the REPL')
13
provides=('husk')
14
conflicts=('husk')
15
options=('!strip')
16
source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
17
sha256sums=('64c023f6c944798d195ffa97c462e2ff05fcb834d3ee220bdd39f9f5eb6b0b15')
18
19
build() {
20
cd "$_name-$pkgver"
21
# Compile the compiler ahead of time; the launcher only rebuilds it when
22
# its sources are newer.
23
HUSK_NO_CACHE=1 bin/husk --version
24
}
25
26
check() {
27
cd "$_name-$pkgver"
28
HUSK_NO_CACHE=1 HUSK_NO_RLWRAP=1 tests/run.sh
29
}
30
31
package() {
32
cd "$_name-$pkgver"
33
install -d "$pkgdir/usr/lib/$_name"
34
cp -r bin src lib "$pkgdir/usr/lib/$_name/"
35
install -d "$pkgdir/usr/bin"
36
ln -s "/usr/lib/$_name/bin/husk" "$pkgdir/usr/bin/husk"
37
38
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md docs/*.md
39
cp -r examples "$pkgdir/usr/share/doc/$pkgname/"
40
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
41
}
42
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-18 09:21:55 | Low | 1 |