Fix how version is obtained in PKGBUILD.

This commit is contained in:
Storm Dragon 2024-12-18 11:01:55 -05:00
parent 92a909edb8
commit deccf846d8

View File

@ -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