wolf-lang-bin

LOW
maintainer espadon 0 votes scanned 2026-09-09 07:19:13.271149
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: mfw <espadonne@outlook.com>
2
3pkgname=wolf-lang-bin
4_pkgname=wolf-lang
5pkgver=0.2.7
6pkgrel=1
7pkgdesc='The wolf systems language: the wolfgang compiler, its runtime and the C importer (release archive)'
8arch=('x86_64' 'aarch64')
9url='https://github.com/wolffe-lang/wolf-lang'
10license=('GPL-3.0-or-later')
11# `sh` runs the /usr/bin/wolf exec script; `cc` (gcc) links every
12# program `wolf build` produces, so gcc is a runtime dependency.
13depends=('sh' 'gcc' 'gcc-libs' 'glibc')
14optdepends=(
15 'lld: faster linking — wolf prefers ld.lld and says so when it is absent'
16 'clang: for `import c` beyond the headers gcc ships'
17 'lupin-bin: the reference interpreter wolf is differentially tested against'
18)
19provides=("wolf-lang=$pkgver")
20# `wolf` is Return to Castle Wolfenstein in the AUR and installs
21# /usr/bin/wolf. The compiler's command name is `wolf` by decree (D38),
22# so the collision is real and is declared rather than discovered.
23conflicts=('wolf-lang' 'wolf')
24install=wolf-lang-bin.install
25# A -bin package redistributes the release's own bytes. makepkg would
26# otherwise re-strip them (makepkg's tidy step does touch libwolf_rt.a)
27# and split a debug package out of a binary with no sources,
28# which namcap flagged as dangling .build-id symlinks. Both off.
29options=('!strip' '!debug')
30# The archives the release publishes, byte for byte. These are the same
31# files the release page hands a human, so the D57 stamp inside them is
32# the release job's own — `wolf --version` prints the bare version with
33# no `+dev` suffix, which a from-tarball rebuild could not manage.
34source_x86_64=("$_pkgname-$pkgver-x86_64.tar.gz::$url/releases/download/v$pkgver/wolf-$pkgver-x86_64-unknown-linux-gnu.tar.gz")
35source_aarch64=("$_pkgname-$pkgver-aarch64.tar.gz::$url/releases/download/v$pkgver/wolf-$pkgver-aarch64-unknown-linux-gnu.tar.gz")
36sha256sums_x86_64=('2fe5a9f1a53470d6356d993b3aeb22d7e1d00566dcb8367cb697aac8bfe4d349')
37sha256sums_aarch64=('3683c5988e128fb33b837e9fbede10c0f3a0f083774ecce87b99fb335bb82da0')
38
39package() {
40 local _triple
41 case "$CARCH" in
42 x86_64) _triple=x86_64-unknown-linux-gnu ;;
43 aarch64) _triple=aarch64-unknown-linux-gnu ;;
44 esac
45 cd "wolf-$pkgver-$_triple"
46
47 # `wolf` locates libwolf_rt.a strictly beside the running binary
48 # (std::env::current_exe, no PATH fallback) and the importer worker
49 # beside it or on PATH. A symlink in /usr/bin does NOT do it — on
50 # macOS current_exe returns the symlink and the lookup misses, and
51 # relying on Linux's /proc/self/exe resolving it is a platform
52 # accident. The three files stay together and /usr/bin/wolf execs
53 # into them, which replaces the process image so current_exe is the
54 # real path on every host.
55 install -Dm755 wolf "$pkgdir/usr/lib/$_pkgname/wolf"
56 install -Dm755 wolf-cimport-worker "$pkgdir/usr/lib/$_pkgname/wolf-cimport-worker"
57 install -Dm644 libwolf_rt.a "$pkgdir/usr/lib/$_pkgname/libwolf_rt.a"
58
59 install -dm755 "$pkgdir/usr/bin"
60 printf '#!/bin/sh\nexec /usr/lib/%s/wolf "$@"\n' "$_pkgname" > "$pkgdir/usr/bin/wolf"
61 chmod 755 "$pkgdir/usr/bin/wolf"
62
63 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
64 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
65 # The runtime library carries a linking exception: programs compiled
66 # with wolf are the author's, under any license they choose.
67 install -Dm644 LICENSE-EXCEPTION "$pkgdir/usr/share/licenses/$pkgname/LICENSE-EXCEPTION"
68}
69

Changes since previous scan

--- PKGBUILD @ 2026-09-09 03:18
+++ PKGBUILD @ 2026-09-09 07:19
@@ -2,7 +2,7 @@
pkgname=wolf-lang-bin
_pkgname=wolf-lang
-pkgver=0.2.6
+pkgver=0.2.7
pkgrel=1
pkgdesc='The wolf systems language: the wolfgang compiler, its runtime and the C importer (release archive)'
arch=('x86_64' 'aarch64')
@@ -33,8 +33,8 @@
# no `+dev` suffix, which a from-tarball rebuild could not manage.
source_x86_64=("$_pkgname-$pkgver-x86_64.tar.gz::$url/releases/download/v$pkgver/wolf-$pkgver-x86_64-unknown-linux-gnu.tar.gz")
source_aarch64=("$_pkgname-$pkgver-aarch64.tar.gz::$url/releases/download/v$pkgver/wolf-$pkgver-aarch64-unknown-linux-gnu.tar.gz")
-sha256sums_x86_64=('bb440e976142a0651c45b3569a3ec734b8b846a137d248286755c3ff3d54ef65')
-sha256sums_aarch64=('63458b27f579d2463baa7cdc658c1c5b95a9d1ff0b073b671ff59498802f77d4')
+sha256sums_x86_64=('2fe5a9f1a53470d6356d993b3aeb22d7e1d00566dcb8367cb697aac8bfe4d349')
+sha256sums_aarch64=('3683c5988e128fb33b837e9fbede10c0f3a0f083774ecce87b99fb335bb82da0')
package() {
local _triple

Scan history

Scanned at (UTC)SeverityRules
2026-09-09 07:19:13 Low 1
2026-09-09 03:18:52 Low 1
2026-09-09 00:04:09 Clean 2
2026-09-08 17:18:20 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