lib32-aalib
MEDIUM
maintainer severach
2 votes
scanned 2026-09-13 19:15:06.142757
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: Felix Yan <felixonmars@archlinux.org>
2
# Contributor: Eric Bélanger <eric@archlinux.org>
3
4
_pkgname=aalib
5
pkgname=lib32-$_pkgname
6
pkgver=1.4rc5
7
pkgrel=5
8
pkgdesc="A portable ASCII art graphic library (32 bit)"
9
arch=('x86_64')
10
url="http://aa-project.sourceforge.net/aalib/"
11
license=('LGPL')
12
depends=('lib32-gpm' 'lib32-libx11' "$_pkgname")
13
makedepends=('lib32-libxt')
14
source=(https://downloads.sourceforge.net/sourceforge/aa-project/${_pkgname}-${pkgver}.tar.gz
15
aclocal-fixes.patch
16
aalib-m4.patch
17
aalib-c99.patch
18
aalib-free-offset-pointer.patch
19
aalib-aalinuxkbd-return.patch
20
aalib-key-down-OOB.patch
21
aalib-opaque-ncurses-fix.patch
22
aalib-fix-aarender.patch
23
aalib-mouse.patch
24
)
25
sha512sums=('3e4506eccce3b81ccbbb79a4a1b90abd39e2259e6043fde90f70b9ca279bd4c37758a047167267b97c4ec92f64fb17c7c8f548114f0d0c6e78ddb9463b5f1299'
26
'aa98b2226c2dd15c13561b28b5558ed459e9065c2339222df7c3002ea17a9b81711e6ff4f59d66ad817d96461dd8b5411c87b049306c875f295fdb8d0c9425c7'
27
'b9809d99e63c07c1cd778fd5d35023f38620c68019a8d2ee737a6d34fb8698e4b3592cf919700432ee7445006f2497b2f45e0d8e99ff918f7d1f10b3a85f9406'
28
'166c98ae5752b97f8c74e5f6924bce19cf68f654a1c3fc7774c919525d4c46a623aac043bbecb150d4beeb48d62e28ba0ba957698681ade8c6e2357439aa877b'
29
'57d92c401057cd5ba8e034378ab137d1eff777dfaf51bde4281bb4882459b2e47d374f20b7520ca0b0d17371cb0942de75d9faca16a56aab7f47dfa0ac7b3c72'
30
'7a68976ff4c3dbf45f21fc6b3c455945336171c686e6a5b80f111072025b50b4a1cd63f8253331add3a187a89247e40ebc9430952501c38257df2d26019161a7'
31
'e3a79459024e25180b5407b92031c1b675659038289daff5a62485a01dc79afd8223652f9bd3e521a975158ecaa8210e35e536dfe3719259f2631a87d83e19b7'
32
'c0e9bb8973fb90cefc151fe015886787e1fdf0df781356478812aee161857ca5f81f87694dbe9323c3a7680391e715d4913c5d30cf789b3fd47447fcfdae5f17'
33
'4e30144ce0df3e1f063fc1bef34690ffc88719f3f52fa62f25f4d2e28a22b59713b5ea23f14c07f0fec5b3988a093572b3e9886ef052cbba48a028f84eb84588'
34
'f7560515c7253e213bcb0dd6636019fc8e72148d4a10add7b8b1b2174fbf9cc012106c75e9d29848895997f30462c8f3acf9746b0313a8d695ef84644543f386')
35
36
prepare() {
37
cd ${_pkgname}-1.4.0
38
patch -p0 -i "${srcdir}/aclocal-fixes.patch"
39
40
# Fix --with-aalib-prefix argument
41
# https://sourceforge.net/p/aa-project/patches/9/
42
# https://bugs.archlinux.org/task/53482
43
patch -Np0 -i ../aalib-m4.patch
44
45
# Fix builtin-declaration-mismatch compiler warnings
46
# https://sourceforge.net/p/aa-project/bugs/10/
47
patch -Np1 -i ../aalib-c99.patch
48
49
# Fix free-nonheap-object compiler warning
50
patch -Np1 -i ../aalib-free-offset-pointer.patch
51
52
# Fix aggressive-loop-optimizations compiler warning
53
patch -Np1 -i ../aalib-key-down-OOB.patch
54
55
# Fix 'return' with no value compiler warning
56
patch -Np1 -i ../aalib-aalinuxkbd-return.patch
57
58
# Fix build for ncurses built with opaque-curses option
59
patch -Np1 -i ../aalib-opaque-ncurses-fix.patch
60
61
# Fix rendering with custom aspect ratio
62
patch -Np1 -i ../aalib-fix-aarender.patch
63
64
# Fix typo for KEY_MOUSE condition
65
patch -Np1 -i ../aalib-mouse.patch
66
67
autoreconf -fi
68
}
69
70
build() {
71
export CC='gcc -m32'
72
export CXX='g++ -m32'
73
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
74
75
cd ${_pkgname}-1.4.0
76
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib32
77
make
78
}
79
80
package() {
81
cd ${_pkgname}-1.4.0
82
make DESTDIR="${pkgdir}" install
83
rm -rf "${pkgdir}"/usr/{bin,include,share}
84
}
85
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-13 19:15:06 | Medium | 1 |
| 2026-08-17 00:18:29 | Clean | 2 |
| 2026-08-16 21:33:47 | Low | 1 |