BUMP VERSION

add: pkgver() for controller
This commit is contained in:
Tobias Reisinger 2020-06-26 01:47:38 +02:00
parent 40d4dbe0f6
commit dd794ccb67
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-controller-testing
pkgver=0.0.1
pkgver=0.2.0
pkgrel=1
epoch=
pkgdesc=""
@ -23,6 +23,10 @@ sha256sums=("SKIP"
"b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798"
"5a4ce46c1302546509c0024d4614b5b0d47dde02467b7bf52b28ef6c4ead91e7")
pkgver() {
grep -Po "^ *VERSION \K[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$" "${pkgname}/CMakeLists.txt"
}
prepare() {
cd "$pkgname"
mkdir -p "build"

View file

@ -1,6 +1,6 @@
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-core-testing
pkgver=0.1.3
pkgver=0.2.0
pkgrel=1
epoch=
pkgdesc=""