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
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
cd cthulhu
|
||||
grep "^version = " src/cthulhu/cthulhuVersion.py | sed 's/version = "\(.*\)"/\1/'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd cthulhu
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||
|
Loading…
Reference in New Issue
Block a user