dreamdump

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
3pkgver=0.6.0
4pkgrel=1
5pkgdesc='Dump Sega Dreamcast GD-ROM discs'
6arch=('i686' 'x86_64' 'aarch64')
7url='https://codeberg.org/MoriGM/dreamdump'
8license=('MIT')
9depends=('glibc')
10makedepends=('go>=1.26')
11conflicts=('dreamdump-bin' 'dreamdump-git')
12options=('!lto' '!debug')
13source=("$pkgname-$pkgver.tar.gz::https://codeberg.org/MoriGM/dreamdump/archive/$pkgver.tar.gz")
14sha256sums=('7ec6930802a6a952e45ac551f0d773c833b4524bda8b3e4168e0ede4e0226f88')
15
16_set_go_env() {
17 # go.mod pins a toolchain. Use the system Go instead of downloading one.
18 export GOTOOLCHAIN=local
19 export GOPATH="${srcdir}"
20 export CGO_CPPFLAGS="${CPPFLAGS}"
21 export CGO_CFLAGS="${CFLAGS}"
22 export CGO_CXXFLAGS="${CXXFLAGS}"
23 export CGO_LDFLAGS="${LDFLAGS}"
24 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
25}
26
27prepare() {
28 cd "$pkgname"
29 _set_go_env
30 go mod download -modcacherw
31}
32
33build() {
34 cd "$pkgname"
35 _set_go_env
36 # main.VERSION is a const, so the linker cannot replace it.
37 go build -o "$pkgname" .
38}
39
40check() {
41 cd "$pkgname"
42 _set_go_env
43 go test ./...
44}
45
46package() {
47 cd "$pkgname"
48 install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
49 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
50 install -Dm644 DRIVES.csv "$pkgdir/usr/share/doc/$pkgname/DRIVES.csv"
51 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
52}
53

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