Package Details: picasso-3ds-git 1:r59.bc051ca-1

Git Clone URL: https://aur.archlinux.org/picasso-3ds-git.git (read-only)
Package Base: picasso-3ds-git
Description: Picasso shader assembler for 3DS homebrew
Upstream URL: https://github.com/fincs/picasso/
Licenses: custom
Submitter: NinjaKoala
Maintainer: NinjaKoala
Last Packager: NinjaKoala
Votes: 1
Popularity: 0.000000
First Submitted: 2015-08-25 17:51
Last Updated: 2016-05-31 22:34

Latest Comments

NinjaKoala commented on 2016-05-31 22:36

Yeah, didn't think about that, thanks.
I applied your patch and added you as a contributor.

phijor commented on 2016-05-19 09:02

Could you fix the versioning of this package?

Right now the repo sits at commit 'bc051ca', which compares as a lower version to 'cefa910' (the one in the PKGBUILD). Git hashes aren't monotonically increasing, so using them as a versioning scheme is a bad idea. I would suggest changing the scheme and adding an epoch[1], so that any old version get upgraded to one with correct versioning. Here's what I'd do:

+++++ PATCH BEGIN +++++

diff --git a/PKGBUILD b/PKGBUILD
index a5c50e1..57e342a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
pkgname=picasso-3ds-git
_gitname=picasso
pkgrel=1
-pkgver=cefa910
+pkgver=r59.bc051ca
+epoch=1
pkgdesc="Picasso shader assembler for 3DS homebrew"
arch=('any')
url="https://github.com/fincs/picasso/"
@@ -14,7 +15,7 @@ md5sums=('SKIP')

pkgver() {
cd "${srcdir}/${_gitname}"
- git describe --always | sed 's|-|.|g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {

+++++ PATCH END +++++

[1] https://wiki.archlinux.org/index.php/PKGBUILD#epoch