dreamdump-git

LOW
maintainer zany130 0 votes scanned 2026-10-08 04:07:28.496369
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: Andres <andresdortiz@gmail.com>
2pkgname=dreamdump-git
3pkgver=0.6.0.r2.g742d0ef
4pkgrel=1
5pkgdesc='Dump Sega Dreamcast GD-ROM discs'
6arch=('i686' 'x86_64' 'aarch64')
7url='https://codeberg.org/MoriGM/dreamdump'
8license=('EPL-2.0')
9depends=('glibc')
10makedepends=('git' 'go>=1.26')
11provides=('dreamdump')
12conflicts=('dreamdump' 'dreamdump-bin')
13options=('!lto' '!debug')
14source=('dreamdump::git+https://codeberg.org/MoriGM/dreamdump.git#branch=main')
15sha256sums=('SKIP')
16
17pkgver() {
18 cd dreamdump
19 git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
20}
21
22_set_go_env() {
23 # go.mod pins a toolchain. Use the system Go instead of downloading one.
24 export GOTOOLCHAIN=local
25 export GOPATH="${srcdir}"
26 export CGO_CPPFLAGS="${CPPFLAGS}"
27 export CGO_CFLAGS="${CFLAGS}"
28 export CGO_CXXFLAGS="${CXXFLAGS}"
29 export CGO_LDFLAGS="${LDFLAGS}"
30 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
31}
32
33prepare() {
34 cd dreamdump
35 _set_go_env
36 go mod download -modcacherw
37}
38
39build() {
40 cd dreamdump
41 _set_go_env
42 # main.VERSION is a const, so the linker cannot replace it.
43 go build -o dreamdump .
44}
45
46check() {
47 cd dreamdump
48 _set_go_env
49 go test ./...
50}
51
52package() {
53 cd dreamdump
54 install -Dm755 dreamdump "$pkgdir/usr/bin/dreamdump"
55 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
56 install -Dm644 DRIVES.csv "$pkgdir/usr/share/doc/$pkgname/DRIVES.csv"
57 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
58}
59

Scan history

Scanned at (UTC)SeverityRules
2026-10-08 04:07:28 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