gir-to-d
MEDIUM
maintainer andreas_baumann
0 votes
scanned 2026-09-05 20:01:32.631454
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
Medium
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:15
"add-main-context-pusher.patch::https://gitlab.alpinelinux.org/alpine/aports/-/raw/c461e10b77635f71803e52b3c681a5de91f9c78f/community/gir-to-d/add-main-context-pusher.patch")
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 offending line(s) highlighted
1
# Maintainer: Dan Printzell <wild@archlinux.org>
2
# Contributor: Antonio Rojas <arojas@archlinux.org>
3
4
pkgname=gir-to-d
5
pkgver=0.23.4
6
pkgrel=3
7
pkgdesc='Create D bindings from GObject introspection files'
8
arch=('x86_64')
9
url='https://github.com/gtkd-developers/gir-to-d'
10
license=('LGPL-3.0-or-later')
11
depends=('liblphobos')
12
makedepends=('meson' 'ldc')
13
source=(
14
"$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
15
"add-main-context-pusher.patch::https://gitlab.alpinelinux.org/alpine/aports/-/raw/c461e10b77635f71803e52b3c681a5de91f9c78f/community/gir-to-d/add-main-context-pusher.patch")
16
sha512sums=('2f35445f3f59c24990c1c76fd4e7cebe1c7bdbf6596d48d316507423af7234bbfd6b61d163aec64f6ceea6d738a8eb7e71097abff8b40c072e4f9cee83a70716'
17
'0df0def246e355099f05f34ac0efba205933c1db969ffd13098f89126ffea157a1fedbb67a94b23d19670ac409b1b53f93e4a8fdaf73d8316390c2542d0d5db4')
18
19
prepare() {
20
# https://github.com/gtkd-developers/gir-to-d/issues/46#issuecomment-2880529179
21
patch --directory="$pkgname-$pkgver" --forward --strip=1 --input "$srcdir"/add-main-context-pusher.patch
22
}
23
24
build() {
25
mkdir -p $pkgname-$pkgver/build
26
cd $pkgname-$pkgver/build
27
28
export DC=ldc
29
export LDFLAGS="$(echo -ne $LDFLAGS | sed -e 's/-flto=auto/-flto=full/')"
30
# Instanciate all templates. Fixes:
31
# undefined reference to `_D6object__T8opEqualsTxC3gtd11GirFunctionQnTxQwZQBkFxQBexQBiZb'
32
export DFLAGS="--allinst"
33
34
arch-meson ..
35
36
ninja
37
}
38
39
package() {
40
cd $pkgname-$pkgver/build
41
42
DESTDIR="$pkgdir" ninja install
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-05 20:01:32 | Medium | 2 |
| 2026-09-05 10:01:37 | Clean | 3 |
| 2026-09-05 09:59:47 | Medium | 2 |