Search Criteria
Package Details: swayosd-git 0.1.0.r0.gdbb8b72-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/swayosd-git.git (read-only, click to copy) |
---|---|
Package Base: | swayosd-git |
Description: | A GTK based on screen display for keyboard shortcuts like caps-lock and volume |
Upstream URL: | https://github.com/ErikReider/SwayOSD |
Licenses: | GPL3 |
Conflicts: | swayosd |
Provides: | swayosd |
Submitter: | jgmdev |
Maintainer: | jgmdev |
Last Packager: | jgmdev |
Votes: | 7 |
Popularity: | 1.42 |
First Submitted: | 2023-01-19 19:23 (UTC) |
Last Updated: | 2024-10-04 04:33 (UTC) |
Dependencies (9)
- gtk-layer-shell (gtk-layer-shell-gitAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR)
- pulse-native-provider (pipewire-pulse-gitAUR, pulseaudio-gitAUR, pipewire-full-pulse-gitAUR, pipewire-pulse, pulseaudio)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rust, rustup) (make)
- git (git-gitAUR, git-glAUR) (make)
- meson (meson-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- sassc (sassc-gitAUR) (make)
Latest Comments
« First ‹ Previous 1 2 3
jgmdev commented on 2023-01-25 01:12 (UTC) (edited on 2023-01-25 01:19 (UTC) by jgmdev)
@Antiz your advice is surely helpful and beneficial, I just took some other AUR package that built for rust and replaced where necessary xD, thanks for sharing the knowledge and changes. Pushed the changes and I'm taking the liberty to add you as co-maintainer of this package. Thanks Again!
Antiz commented on 2023-01-24 23:16 (UTC)
Hi,
This PKGBUILD could benefit from various improvements and corrections:
- Since there's not
git tag
in the upstream project, thepkgver
variable and thepkgver ()
function should include the "revision" number because, for now, the current defaultpkgver
value/format (gd0d70720) is seen as an higher version than the latest commit (gb7b4e3d) by pacman. That causes an update loop for AUR helper users for instance (I know AUR helper are not officially supported but since the correction is trivial and it goes by the VCS packaging guidelines, I think it should be considered). See [1]- The license is not
GPL
butGPL3
. See [2]- The
makedepends
array missesgit
. Also, there's no need listing bothrust
andcargo
sincecargo
depend onrust
and, by definition (as it's the rust package manager), cannot ever stop pulling it in as a dependency. See [3]- This package should
provides
andconflicts
theswayosd
package (even though it does not exists yet). See [4] and [5]- This package does not respects the Rust packaging guidelines. See [6]
- It is common to install the README.md file of the upstream repo to
${pkgdir}/usr/share/doc/${pkgname}
when it contains useful information/documentation (which is the case here). See [7][1] https://wiki.archlinux.org/title/VCS_package_guidelines#Git
[2] https://github.com/ErikReider/SwayOSD/blob/main/LICENSE
[3] https://wiki.archlinux.org/title/PKGBUILD#depends
[4] https://wiki.archlinux.org/title/PKGBUILD#provides
[5] https://wiki.archlinux.org/title/PKGBUILD#conflicts
[6] https://wiki.archlinux.org/title/Rust_package_guidelines
[7] https://pkgbuild.vdwaa.nl/?q=README.md&i=nope&literal=nope&files=&excludeFiles=&repos=
Here is the diff output between the current PKGBUILD and a PKGBUILD that includes all the improvements/corrections listed above:
Here is the "improved/corrected" PKGBUILD itself:
I hope this helps :)
« First ‹ Previous 1 2 3