mustache-d
LOW
maintainer andreas_baumann
0 votes
scanned 2026-09-06 07:10:31.945140
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: Antonio Rojas <arojas@archlinux.org>
3
4
pkgname=mustache-d
5
pkgver=0.1.5
6
pkgrel=20
7
pkgdesc='Moustache template engine for D'
8
arch=('x86_64')
9
url='https://github.com/repeatedly/mustache-d'
10
license=('BSL-1.0')
11
makedepends=('meson' 'ldc' 'liblphobos')
12
source=("$pkgname-$pkgver::https://github.com/repeatedly/mustache-d/archive/v$pkgver.tar.gz")
13
sha512sums=('f6a84e69c5345ebe1c8aae3e6a214fd0b57055180f8c689468decab9d4e3cb92d88b1ca51b918eaec2134e2f7f86a17a69b07dfa58783286a66286fefa206eec')
14
15
prepare() {
16
mkdir -p build
17
18
cd "$srcdir"/$pkgname-$pkgver
19
# Fixes 'ERROR: Got unknown keyword arguments "soversion", "version"'
20
sed -i "/install: true/{n;N;d}" meson.build
21
}
22
23
build() {
24
cd build
25
26
# Build with LDC
27
export DC=ldc
28
# ldc rejects GCC-style "-Wl," LDFLAGS outright -- see memory/mustache-d.md
29
unset LDFLAGS
30
arch-meson ../$pkgname-$pkgver
31
32
ninja
33
}
34
35
package() {
36
cd build
37
38
DESTDIR="$pkgdir" ninja install
39
}
40
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-06 07:10:31 | Low | 1 |