diff --git a/core-testing/PKGBUILD b/core-testing/PKGBUILD index 7bbcea7..7be0ee4 100644 --- a/core-testing/PKGBUILD +++ b/core-testing/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Tobias Reisinger pkgname=emgauwa-core-testing -pkgver=0.0.1 +pkgver=0.1.0 pkgrel=1 epoch= pkgdesc="" @@ -23,6 +23,10 @@ sha256sums=("SKIP" "b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798" "0531f10303410afd7e53099e66b124ef2fd14afec9d33c4a0146793375acb6c2") +pkgver() { + grep -Po "^ *VERSION \K[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$" "${pkgname}/CMakeLists.txt" +} + prepare() { cd "$pkgname" mkdir -p "build"