Package Details: npth-git 1.6-1

Git Clone URL: https://aur.archlinux.org/npth-git.git (read-only, click to copy)
Package Base: npth-git
Description: New portable threads library
Upstream URL: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git
Licenses: LGPL
Conflicts: npth
Provides: npth
Submitter: shoober420
Maintainer: shoober420
Last Packager: shoober420
Votes: 1
Popularity: 0.079686
First Submitted: 2021-01-09 01:51
Last Updated: 2021-02-07 21:31

Dependencies (1)

Required by (7)

Sources (1)

Latest Comments

shoober420 commented on 2021-02-07 21:36

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

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'