glibd

LOW
maintainer andreas_baumann 0 votes scanned 2026-09-06 09:10:50.549465
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: Dan Printzell <wild@archlinux.org>
2# Contributor: Filipe Laíns (FFY00) <lains@archlinux.org>
3# Contributor: Antonio Rojas <arojas@archlinux.org>
4
5pkgname=glibd
6_pkgname=GlibD
7pkgver=2.4.3
8pkgrel=6
9pkgdesc='D bindings for the GLib C Utility Library'
10arch=('x86_64')
11url='https://github.com/gtkd-developers/GlibD'
12license=('LGPL-3.0-or-later')
13depends=('glib2' 'liblphobos')
14makedepends=('meson' 'ldc' 'gobject-introspection' 'gir-to-d')
15source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
16 "0001-Add-missing-gthread-2.0-dependency.patch"
17 "fix-glib-unix-split.patch"
18 "fix-gio-unix-split.patch"
19 "fix-generated-sources-abspath.patch")
20sha512sums=('7ceb415cad9aa3ea325d561932586b730af7ce123d4f1e69339eb2f007774abfa126d783af898ef7f8c17bde0f337383ba1630fd039f9a22a3c34a98ac8dd539'
21 'ee741ec82506da7f653ef68033984e5014ae26f5b3faaaddc75fab9af7556721c3824abe712848b772fcf01da91184e3507d486db7b6c87d129981a0f1593283'
22 '1171033d8687e24a7fe43f08ca69fa594f0716924e8b712efa6df3d43788dd49a61f68bbb890b1bee52256bec26bfa8a3e26bc55b475d2e96c64445512cbb7d7'
23 'c641dfc81775de44567efcb8c37b9008f7bfe69fc739f9f2acf7377d4c1c9426645b65c8a0a282e3042c9e6681d11e54da2350e54613b70d9a687415e4055b45'
24 'c851bf1ecc26209237cf698e45595443d969af6189da11f606cbec38a687c6cb356c932a141eec3893fadba5540ef55f07e2eaf272d4d7bc8b76d2704bca7e32')
25
26prepare() {
27 patch --directory="$_pkgname-$pkgver" --forward --strip=1 --input "$srcdir"/0001-Add-missing-gthread-2.0-dependency.patch
28 # GLib/Gio split off Unix-specific bindings into new companion .gir
29 # files upstream -- see memory/glibd.md
30 patch --directory="$_pkgname-$pkgver" --forward --strip=1 --input "$srcdir"/fix-glib-unix-split.patch
31 patch --directory="$_pkgname-$pkgver" --forward --strip=1 --input "$srcdir"/fix-gio-unix-split.patch
32 # meson mishandles bare relative build-tree source paths -- see
33 # memory/glibd.md
34 patch --directory="$_pkgname-$pkgver" --forward --strip=1 --input "$srcdir"/fix-generated-sources-abspath.patch
35}
36
37build() {
38 mkdir -p $_pkgname-$pkgver/build
39 cd $_pkgname-$pkgver/build
40
41 # Force build with LDC
42 export DC=ldc
43 # ldc rejects GCC-style "-Wl," LDFLAGS outright -- see memory/glibd.md
44 unset LDFLAGS
45
46 arch-meson ..
47
48 ninja
49}
50
51package() {
52 cd $_pkgname-$pkgver/build
53
54 DESTDIR="$pkgdir" ninja install
55}
56

Scan history

Scanned at (UTC)SeverityRules
2026-09-06 09:10:50 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