linkwarden-obsidian-sync
LOW
maintainer alrayyes
0 votes
scanned 2026-08-31 15:45:42.143005
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>
2
pkgname=linkwarden-obsidian-sync
3
pkgver=2.5.0
4
pkgrel=1
5
pkgdesc="Keeps a directory of Obsidian notes in sync with your saved Linkwarden links"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/alrayyes/linkwarden-obsidian-sync"
8
license=('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.
14
options=('!debug')
15
makedepends=('go')
16
source=("$pkgname-$pkgver.tar.gz::https://github.com/alrayyes/linkwarden-obsidian-sync/archive/v$pkgver.tar.gz")
17
sha256sums=('4518eb7060c3737288849565eb3c0440bb4b6d235ab786c3ab8e246ed92d4e7b')
18
19
build() {
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
27
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-31 15:45:42 | Low | 1 |