git-pages

LOW
maintainer rocka 0 votes scanned 2026-11-03 16:05:05.794714
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: Rocket Aaron <rocka@archlinuxcn.org>
2
3pkgname=git-pages
4pkgver=0.10.1
5pkgrel=1
6pkgdesc='Scalable static site server for Git forges'
7url='https://codeberg.org/git-pages/git-pages'
8arch=(x86_64)
9license=(0BSD)
10depends=(glibc)
11makedepends=(go)
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
13 'git-pages.service')
14sha256sums=('667b141c7865a416c790bdddeb545072bfd857b78fb7df4e85bdee4385bbc1f9'
15 'e44ad5aa362efce9454f88356fdddac9336dcacb6ef64f5e0efd8578d37e8003')
16
17prepare() {
18 cd "${pkgname}"
19 # create directory for build output
20 mkdir build
21 # download dependencies
22 export GOPATH="${srcdir}"
23 go mod download
24}
25
26build() {
27 cd "${pkgname}"
28 # set Go flags
29 export CGO_CPPFLAGS="${CPPFLAGS}"
30 export CGO_CFLAGS="${CFLAGS}"
31 export CGO_CXXFLAGS="${CXXFLAGS}"
32 export GOPATH="${srcdir}"
33 go build -v \
34 -buildmode=pie \
35 -mod=readonly \
36 -modcacherw \
37 -ldflags "-compressdwarf=false \
38 -linkmode external \
39 -s -w -buildid='' \
40 -extldflags '${LDFLAGS}' \
41 -X main.versionOverride=v$pkgver" \
42 -o build/git-pages
43}
44
45package() {
46 cd "${pkgname}"
47 install -vDm755 -t "${pkgdir}/usr/bin" build/git-pages
48 install -vDm644 -t "${pkgdir}/usr/lib/systemd/system" "${srcdir}/git-pages.service"
49 install -vDm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE.txt
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-11-03 16:05:05 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