gpwebcam

LOW
maintainer darko 0 votes scanned 2026-10-20 09:27:54.737837
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# This file was generated by GoReleaser. DO NOT EDIT.
2# Maintainer: Darko Demić <mail at darkodemic dot com>
3
4pkgname='gpwebcam'
5pkgver=0.3.1
6pkgrel=1
7pkgdesc='Use a GoPro connected over USB as a Linux webcam'
8url='https://github.com/darkodemic/gpwebcam'
9arch=('aarch64' 'x86_64')
10license=('Apache-2.0')
11provides=('gpwebcam')
12conflicts=('gpwebcam-bin')
13depends=('ffmpeg' 'hicolor-icon-theme')
14makedepends=('go')
15optdepends=('v4l2loopback-dkms: the loopback device that applications read' 'libnotify: desktop notifications')
16install=gpwebcam.install
17source=("${pkgname}_${pkgver}.tar.gz::https://github.com/darkodemic/gpwebcam/releases/download/v${pkgver}/gpwebcam-${pkgver}.tar.gz")
18sha256sums=('33c476ef457ad8ca0cf5d151570d6c03538e14f576c9a4c7ee9da0d560db631e')
19prepare() {
20 cd "${pkgname}-${pkgver}"
21 go mod download
22}
23build() {
24 cd "${pkgname}-${pkgver}"
25 export CGO_CPPFLAGS="${CPPFLAGS}"
26 export CGO_CFLAGS="${CFLAGS}"
27 export CGO_CXXFLAGS="${CXXFLAGS}"
28 export CGO_LDFLAGS="${LDFLAGS}"
29 export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
30 go build -ldflags "-linkmode=external -X main.version=${pkgver}" -o gpwebcam ./cmd/gpwebcam
31}
32package() {
33 cd "${pkgname}-${pkgver}"
34 install -Dm755 gpwebcam "${pkgdir}/usr/bin/gpwebcam"
35 install -Dm644 packaging/systemd/gpwebcam.service "${pkgdir}/usr/lib/systemd/user/gpwebcam.service"
36 install -Dm644 packaging/modules-load.d/gpwebcam.conf "${pkgdir}/usr/lib/modules-load.d/gpwebcam.conf"
37 install -Dm644 packaging/modprobe.d/99-gpwebcam.conf "${pkgdir}/usr/lib/modprobe.d/99-gpwebcam.conf"
38 install -Dm644 packaging/desktop/gpwebcam.desktop "${pkgdir}/usr/share/applications/gpwebcam.desktop"
39 install -Dm644 packaging/icons/gpwebcam.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/gpwebcam.svg"
40 install -Dm644 packaging/man/gpwebcam.1 "${pkgdir}/usr/share/man/man1/gpwebcam.1"
41 install -Dm644 README.md "${pkgdir}/usr/share/doc/gpwebcam/README.md"
42 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/gpwebcam/LICENSE"
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-10-20 09:27:54 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