You are not logged in.

#1 2015-04-19 02:09:31

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

SOLVED: Determine pkgver from source

Is there a way to determine the $pkgver in the PKGBUILD from the source being downloaded?
I'm attempting to package some Java which is built via maven, and maven already has the version in its pom.xml. I'd like my PKGBUILD to reuse that value, instead of introducing a copy that will get out of sync, I'm sure.

I tried setting $pkgver in prepare() or build() but values set there seem to be ignored.

Last edited by jernst (2015-04-19 02:43:17)

Offline

#2 2015-04-19 02:35:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: SOLVED: Determine pkgver from source

Offline

#3 2015-04-19 02:42:55

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Re: SOLVED: Determine pkgver from source

Duh! Thank you.

Offline

Board footer

Powered by FluxBB