lib32-luajit

MEDIUM
maintainer Vorschreibung 1 votes scanned 2026-09-27 13:18:29.354985
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2# Contributor: Behnam Momeni <sbmomeni [at the] gmail [dot] com>
3# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
4# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
5# Contributor: Chris Brannon <chris@the-brannons.com>
6# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
7# Contributor: Anders Bergh <anders1@gmail.com>
8
9_Name="LuaJIT"
10_name="${_Name,,}"
11pkgname="lib32-${_name}"
12# LuaJIT has a "rolling release" where you should follow git HEAD
13_commit=538a82133ad6fddfd0ca64de167c4aca3bc1a2da
14# The patch version is the timestamp of the above git commit, obtain via `git show -s --format=%ct`
15_ct=1741730670
16pkgver="2.1.${_ct}"
17pkgrel=1
18pkgdesc="Just-in-time compiler and drop-in replacement for Lua 5.1 (32-bit)"
19arch=('x86_64')
20url="https://luajit.org"
21_url="https://github.com/${_Name}/${_Name}"
22license=('MIT')
23depends=('lib32-gcc-libs' 'lib32-glibc' "${_name}>=${pkgver}")
24provides=("lib${_name}-5.1.so")
25options=('emptydirs')
26_pkgsrc="${_Name}-${_commit}"
27source=("LuaJIT-${_commit}.tar.gz::${_url}/archive/${_commit}.tar.gz")
28sha256sums=('7acbc36be8f21072422eb9a5e5fc468d0eaa55bec1b70260d651e845684621e2')
29b2sums=('d95324b6a12919107f33d12e168ac798a91e829d8ddda7a2362dd6dff893e68e5fcc68322023216ab84352507107a2bff9934a87c1aa1427185645157cc78fc8')
30
31build() {
32 export CFLAGS+=" -m32"
33 export CXXFLAGS+=" -m32"
34 export LDFLAGS+=" -m32"
35 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
36
37 cd "${srcdir}/${_pkgsrc}"
38 # Avoid early stripping
39 make amalg PREFIX='/usr' MULTILIB='lib32' BUILDMODE=dynamic TARGET_STRIP=" @:"
40}
41
42check() {
43 cd "${srcdir}/${_pkgsrc}"
44 # Make sure that _ct was updated
45 test "${_ct}" == "$(cat .relver)"
46}
47
48package() {
49 cd "${srcdir}/${_pkgsrc}"
50 make install DESTDIR="${pkgdir}" PREFIX='/usr' MULTILIB='lib32'
51
52 cd "${pkgdir}/usr"
53 rm -rf "bin" "include" "share"
54}
55
56

Scan history

Scanned at (UTC)SeverityRules
2026-09-27 13:18:29 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

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

0 / 4000
Your suggestion