wayweather-bin

LOW
maintainer TheElevatedOne 0 votes scanned 2026-10-25 11:42:44.745659
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: Adam 'TheElevatedOne' Mladý <admin@elevated.ovh> -> https://github.com/TheElevatedOne
2
3pkgname=wayweather-bin
4pkgver=3.0.1
5pkgrel=1
6pkgdesc="Weather module for Waybar with saved locations, GPS/IP geolocation, a TUI and a C library"
7arch=('x86_64')
8url="https://github.com/TheElevatedOne/wayweather"
9license=('GPL-3.0-or-later')
10depends=('glibc' 'curl' 'cjson' 'ncurses' 'geoclue' 'glib2')
11optdepends=('gpsd: GPS receiver support'
12 'ttf-nerd-fonts-symbols: weather icons')
13provides=("wayweather=${pkgver}" 'libwayweather.so')
14conflicts=('wayweather' 'wayweather-git')
15source=("wayweather-${pkgver}.tar.gz::https://github.com/TheElevatedOne/wayweather/releases/download/${pkgver}/wayweather-${pkgver}.tar.gz")
16sha256sums=('7f5b3d3622742b7d7a3dbda92a815fa65bef28985852f9ebcbccebcb78d16af7')
17
18package() {
19 cd "${srcdir}"
20
21 local major="${pkgver%%.*}"
22 local doc="${pkgdir}/usr/share/doc/wayweather"
23
24 install -Dm755 wayweather "${pkgdir}/usr/bin/wayweather"
25 install -Dm755 "libwayweather.so.${pkgver}" "${pkgdir}/usr/lib/libwayweather.so.${pkgver}"
26 ln -s "libwayweather.so.${pkgver}" "${pkgdir}/usr/lib/libwayweather.so.${major}"
27 ln -s "libwayweather.so.${major}" "${pkgdir}/usr/lib/libwayweather.so"
28 install -Dm644 libwayweather.a "${pkgdir}/usr/lib/libwayweather.a"
29 install -Dm644 wayweather.h "${pkgdir}/usr/include/wayweather.h"
30
31 install -dm755 "${pkgdir}/usr/lib/pkgconfig"
32 cat > "${pkgdir}/usr/lib/pkgconfig/wayweather.pc" <<PC
33prefix=/usr
34libdir=/usr/lib
35includedir=/usr/include
36
37Name: wayweather
38Description: Weather, place search and geolocation from wayweather
39Version: ${pkgver}
40Requires.private: libcurl libcjson libgeoclue-2.0
41Libs: -L\${libdir} -lwayweather
42Libs.private: -lm -pthread
43Cflags: -I\${includedir}
44PC
45
46 install -Dm644 data/wayweather.1 "${pkgdir}/usr/share/man/man1/wayweather.1"
47 install -Dm644 data/completions/wayweather.bash "${pkgdir}/usr/share/bash-completion/completions/wayweather"
48 install -Dm644 data/completions/_wayweather "${pkgdir}/usr/share/zsh/site-functions/_wayweather"
49 install -Dm644 data/completions/wayweather.fish "${pkgdir}/usr/share/fish/vendor_completions.d/wayweather.fish"
50 install -Dm644 data/waybar/config.jsonc "${doc}/waybar/config.jsonc"
51 install -Dm644 data/waybar/style.css "${doc}/waybar/style.css"
52 install -Dm644 README.md "${doc}/README.md"
53 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-10-25 11:42:44 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