lib32-luajit
MEDIUM
maintainer Vorschreibung
1 votes
scanned 2026-09-27 13:18:29.354985
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,,}"
11
pkgname="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
16
pkgver="2.1.${_ct}"
17
pkgrel=1
18
pkgdesc="Just-in-time compiler and drop-in replacement for Lua 5.1 (32-bit)"
19
arch=('x86_64')
20
url="https://luajit.org"
21
_url="https://github.com/${_Name}/${_Name}"
22
license=('MIT')
23
depends=('lib32-gcc-libs' 'lib32-glibc' "${_name}>=${pkgver}")
24
provides=("lib${_name}-5.1.so")
25
options=('emptydirs')
26
_pkgsrc="${_Name}-${_commit}"
27
source=("LuaJIT-${_commit}.tar.gz::${_url}/archive/${_commit}.tar.gz")
28
sha256sums=('7acbc36be8f21072422eb9a5e5fc468d0eaa55bec1b70260d651e845684621e2')
29
b2sums=('d95324b6a12919107f33d12e168ac798a91e829d8ddda7a2362dd6dff893e68e5fcc68322023216ab84352507107a2bff9934a87c1aa1427185645157cc78fc8')
30
31
build() {
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
42
check() {
43
cd "${srcdir}/${_pkgsrc}"
44
# Make sure that _ct was updated
45
test "${_ct}" == "$(cat .relver)"
46
}
47
48
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-27 13:18:29 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |