dropwatch-music

LOW
maintainer Rasi 0 votes scanned 2026-10-20 05:27:35.159195
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: Rasi <rasi@xssn.at>
2
3pkgname=dropwatch-music
4pkgver=0.1.5
5pkgrel=1
6pkgdesc='Shows which albums by the artists in your music library you are missing'
7arch=('x86_64' 'aarch64')
8url='https://github.com/carnager/dropwatch'
9license=('GPL-3.0-only')
10depends=('glibc' 'tar' 'xz')
11makedepends=('go>=2:1.27')
12conflicts=('dropwatch')
13backup=('etc/dropwatch.env')
14source=("dropwatch-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
15sha256sums=('ce0ac0ee06797e3b1063c9d899cca51fd50852d3b50018d39e8d8d25d9e0a514')
16
17prepare() {
18 cd "dropwatch-$pkgver"
19 export GOPATH="$srcdir/gopath"
20 go mod download
21}
22
23build() {
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
31check() {
32 cd "dropwatch-$pkgver"
33 export GOPATH="$srcdir/gopath"
34 export CGO_ENABLED=0
35 go test ./...
36}
37
38package() {
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)SeverityRules
2026-10-20 05:27:35 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