Package Details: npth-git 1.6-1

Git Clone URL: (read-only, click to copy)
Package Base: npth-git
Description: New portable threads library
Upstream URL:
Licenses: LGPL
Conflicts: npth
Provides: npth
Submitter: shoober420
Maintainer: shoober420
Last Packager: shoober420
Votes: 1
Popularity: 0.000000
First Submitted: 2021-01-09 01:51 (UTC)
Last Updated: 2021-02-07 21:31 (UTC)

Dependencies (1)

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.

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:

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'