Package Details: lutris-gamepad-ui-git 0.1.3.r29.gb6c6da0-1

Git Clone URL: https://aur.archlinux.org/lutris-gamepad-ui-git.git (read-only, click to copy)
Package Base: lutris-gamepad-ui-git
Description: A simple, TV-friendly, gamepad-navigable frontend for Lutris
Upstream URL: https://github.com/andrew-ld/lutris-gamepad-ui
Licenses: GPL3
Submitter: andrew-ld
Maintainer: andrew-ld
Last Packager: andrew-ld
Votes: 0
Popularity: 0.000000
First Submitted: 2025-06-19 21:58 (UTC)
Last Updated: 2025-06-25 19:34 (UTC)

Latest Comments

yochananmarqos commented on 2025-06-20 21:10 (UTC)

@andrew-ld: Your package, your preference. No worries. Thanks for making the changes.

I prefer not to introduce new variables when an existing one can be used. I like to keep it simple.

andrew-ld commented on 2025-06-20 18:32 (UTC)

Hi @yochananmarqos, thanks for the suggestions. I’ve applied all of them except the one about ${_pkgname}, as I prefer not to repeat %-git multiple times.

yochananmarqos commented on 2025-06-19 23:42 (UTC) (edited on 2025-06-19 23:47 (UTC) by yochananmarqos)

@andrew-ld: This cannot be built in a clean chroot as git is missing from makedepends().

Please see Node.js package guidelines for using a local NPM cache.

There's no reason to use additional variables like ${_pkgname} when ${pkgname%-git} can be used.

Also, generating the pkgver can be a bit more simple. See VCS package guidelines; i.e.,

pkgver() {
    cd "${pkgname%-git}"
    git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

EDIT: Made edits and corrections