dropwatch-music
LOW
maintainer Rasi
0 votes
scanned 2026-10-20 05:27:35.159195
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: Rasi <rasi@xssn.at>
2
3
pkgname=dropwatch-music
4
pkgver=0.1.5
5
pkgrel=1
6
pkgdesc='Shows which albums by the artists in your music library you are missing'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/carnager/dropwatch'
9
license=('GPL-3.0-only')
10
depends=('glibc' 'tar' 'xz')
11
makedepends=('go>=2:1.27')
12
conflicts=('dropwatch')
13
backup=('etc/dropwatch.env')
14
source=("dropwatch-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
15
sha256sums=('ce0ac0ee06797e3b1063c9d899cca51fd50852d3b50018d39e8d8d25d9e0a514')
16
17
prepare() {
18
cd "dropwatch-$pkgver"
19
export GOPATH="$srcdir/gopath"
20
go mod download
21
}
22
23
build() {
24
cd "dropwatch-$pkgver"
25
export GOPATH="$srcdir/gopath"
26
export CGO_ENABLED=0
27
export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
28
go build -ldflags "-X main.version=v$pkgver" -o dropwatch ./cmd/dropwatch
29
}
30
31
check() {
32
cd "dropwatch-$pkgver"
33
export GOPATH="$srcdir/gopath"
34
export CGO_ENABLED=0
35
go test ./...
36
}
37
38
package() {
39
cd "dropwatch-$pkgver"
40
install -Dm755 dropwatch "$pkgdir/usr/bin/dropwatch"
41
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
42
install -Dm644 contrib/dropwatch.service "$pkgdir/usr/lib/systemd/system/dropwatch.service"
43
install -Dm644 contrib/dropwatch.user.service "$pkgdir/usr/lib/systemd/user/dropwatch.service"
44
install -Dm644 contrib/dropwatch.sysusers "$pkgdir/usr/lib/sysusers.d/dropwatch.conf"
45
install -Dm600 contrib/dropwatch.env "$pkgdir/etc/dropwatch.env"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-20 05:27:35 | Low | 1 |