Package Details: npth-git npth.1.7.r5.g75c6839-1

Git Clone URL: https://aur.archlinux.org/npth-git.git (read-only, click to copy)
Package Base: npth-git
Description: The new GNU portable threads library
Upstream URL: https://www.gnupg.org/software/npth/index.html
Licenses: LGPL-2.1-or-later
Conflicts: npth
Provides: libnpth.so, npth
Submitter: shoober420
Maintainer: shoober420
Last Packager: shoober420
Votes: 1
Popularity: 0.000000
First Submitted: 2021-01-09 01:51 (UTC)
Last Updated: 2024-07-07 01:21 (UTC)

Required by (4)

Sources (1)

Latest Comments

shoober420 commented on 2021-02-07 21:36 (UTC)

Its very common for someone to forget to add "git" to their PKGBUILD, since its installed on most peoples machines to begin with, especcially a package maintainer. I've ran across many packages that dont include "git" and "mercurial" all across the AUR.

I just did a quick search for mesa packages on the AUR, and came across a git package missing git in its makedepends. It took 5 seconds. Nonetheless, I still appreciate the attention given to my packages.

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mesa-arm-git

Regardless, updated, and thank you very much.

About the pkgver, it was copied and pasted from another package. I updated the pkgver as well.

Although I dont understand why you would think I wouldnt have git installed, you need git to upload AUR packages, so no, everything about how you think i build packages is false. I build them like everyone else does.

FabioLolix commented on 2021-01-09 12:34 (UTC)

Hello Vincent, this pkgbuild like others yours miss git as makedepends (which indicate that you don't try to build them in a clean chroot before uploading) and need to use a better pkgver() like seen here: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

Using the most recent annotated tag reachable from the last commit:

git describe --long | sed 's/([^-]*-g)/r\1/;s/-/./g'

Using the most recent un-annotated tag reachable from the last commit:

git describe --long --tags | sed 's/([^-]*-g)/r\1/;s/-/./g'

cutting off 'v' prefix that presents in the git tag

git describe --long --tags | sed 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'