dusk-lang-bin

LOW
maintainer choice404 0 votes scanned 2026-08-22 03:16:42.422172
View on AUR
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: Austin Choi <austin.c.percussion@gmail.com>
2pkgname=dusk-lang-bin
3pkgver=1.15.0
4pkgrel=1
5pkgdesc="Compiler for the dusk programming language, a systems language with generational memory safety (release binary)"
6# The release binary is the x86_64 linux build the release's stage ladder
7# proved; other platforms build from source through dusk-lang-git.
8arch=('x86_64')
9url="https://github.com/choice404/dusk"
10license=('MIT OR Apache-2.0')
11# dusk shells out to clang at run time to link, and the IR it emits targets
12# exactly one LLVM major version, so pin to LLVM 22.x.
13depends=('clang>=22' 'clang<23')
14optdepends=('git: package fetching through the dawn tool')
15provides=('dusk-lang')
16conflicts=('dusk-lang' 'dusk-lang-git' 'dawn')
17options=('!debug')
18# Nothing is compiled here: the compiler, the package tool, and the share
19# archive (the standard library, the C runtime, and the docs) all come from
20# the tagged release, written by the same stage ladder that proved the binary,
21# so the three always agree and every checksum is known before the tag moves.
22source=("dusk-bin-${pkgver}::https://github.com/choice404/dusk/releases/download/v${pkgver}/dusk"
23 "dawn-bin-${pkgver}::https://github.com/choice404/dusk/releases/download/v${pkgver}/dawn"
24 "dusk-share-${pkgver}.tar.gz::https://github.com/choice404/dusk/releases/download/v${pkgver}/dusk-share.tar.gz")
25sha256sums=('dba96038226cd35ae5f1993a47b0bea5eca3678ad53902d8f6bc60ad5a4b939c'
26 '61f97eee92a9356adf6faf9eee6c277aa3a1e10e54769e5b698de7d0763fbe2b'
27 'c7956f13d111c71dbc2d20fa08ed29847a9314134b83f729271fbe0f7745cedd')
28noextract=("dusk-bin-${pkgver}" "dawn-bin-${pkgver}")
29
30check() {
31 # The binaries must be the release they claim to be before they are installed.
32 chmod +x "dusk-bin-${pkgver}" "dawn-bin-${pkgver}"
33 [ "$(./dusk-bin-${pkgver} version)" = "dusk ${pkgver}" ]
34 [ "$(./dawn-bin-${pkgver} version)" = "dawn ${pkgver}" ]
35}
36
37package() {
38 install -Dm755 "dusk-bin-${pkgver}" "$pkgdir/usr/bin/dusk"
39 install -Dm755 "dawn-bin-${pkgver}" "$pkgdir/usr/bin/dawn"
40 cd "dusk-share-${pkgver}"
41 install -dm755 "$pkgdir/usr/share/dusk-lang"
42 cp -r lib runtime "$pkgdir/usr/share/dusk-lang/"
43 install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
44 install -Dm644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
45 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
46 install -Dm644 spec.md "$pkgdir/usr/share/doc/$pkgname/spec.md"
47}
48

Scan history

Scanned at (UTC)SeverityRules
2026-08-22 03:16:42 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion