linkwarden-obsidian-sync

LOW
maintainer alrayyes 0 votes scanned 2026-08-31 15:45:42.143005
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: Ryan Kes <ryan@andthensome.nl>
2pkgname=linkwarden-obsidian-sync
3pkgver=2.5.0
4pkgrel=1
5pkgdesc="Keeps a directory of Obsidian notes in sync with your saved Linkwarden links"
6arch=('x86_64' 'aarch64')
7url="https://github.com/alrayyes/linkwarden-obsidian-sync"
8license=('GPL-3.0-only')
9# The build already strips symbols and DWARF info (-s -w below, same as
10# goreleaser's own build for every other release artifact) — makepkg's
11# automatic debug-package step has nothing to extract from that, and
12# without this it still tries, producing a broken -debug package with a
13# dangling .build-id symlink that namcap flags as a real error.
14options=('!debug')
15makedepends=('go')
16source=("$pkgname-$pkgver.tar.gz::https://github.com/alrayyes/linkwarden-obsidian-sync/archive/v$pkgver.tar.gz")
17sha256sums=('4518eb7060c3737288849565eb3c0440bb4b6d235ab786c3ab8e246ed92d4e7b')
18
19build() {
20 cd "$pkgname-$pkgver"
21 export CGO_ENABLED=0
22 go build -trimpath -ldflags "-s -w -X main.version=$pkgver" \
23 -o "$pkgname" ./cmd/linkwarden-obsidian-sync
24 go run -tags mangen ./cmd/linkwarden-obsidian-sync man
25}
26
27package() {
28 cd "$pkgname-$pkgver"
29 install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
30 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
32 # Left uncompressed: makepkg's own tidy step gzips these, unlike nfpm's
33 # deb/rpm build in .goreleaser.yaml, which has to be told to.
34 install -Dm644 man/linkwarden-obsidian-sync.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
35 install -Dm644 man/linkwarden-obsidian-sync-init.1 "$pkgdir/usr/share/man/man1/$pkgname-init.1"
36}
37

Scan history

Scanned at (UTC)SeverityRules
2026-08-31 15:45:42 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