Fix how version is obtained in PKGBUILD.
This commit is contained in:
parent
92a909edb8
commit
deccf846d8
@ -44,6 +44,11 @@ prepare() {
|
|||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd cthulhu
|
||||||
|
grep "^version = " src/cthulhu/cthulhuVersion.py | sed 's/version = "\(.*\)"/\1/'
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd cthulhu
|
cd cthulhu
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||||
|
Loading…
Reference in New Issue
Block a user