BUMP VERSION
add: pkgver() for controller
This commit is contained in:
		
							parent
							
								
									40d4dbe0f6
								
							
						
					
					
						commit
						dd794ccb67
					
				
					 2 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
 | 
					# Maintainer: Tobias Reisinger <tobias@msrg.cc>
 | 
				
			||||||
pkgname=emgauwa-controller-testing
 | 
					pkgname=emgauwa-controller-testing
 | 
				
			||||||
pkgver=0.0.1
 | 
					pkgver=0.2.0
 | 
				
			||||||
pkgrel=1
 | 
					pkgrel=1
 | 
				
			||||||
epoch=
 | 
					epoch=
 | 
				
			||||||
pkgdesc=""
 | 
					pkgdesc=""
 | 
				
			||||||
| 
						 | 
					@ -23,6 +23,10 @@ sha256sums=("SKIP"
 | 
				
			||||||
            "b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798"
 | 
					            "b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798"
 | 
				
			||||||
            "5a4ce46c1302546509c0024d4614b5b0d47dde02467b7bf52b28ef6c4ead91e7")
 | 
					            "5a4ce46c1302546509c0024d4614b5b0d47dde02467b7bf52b28ef6c4ead91e7")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pkgver() {
 | 
				
			||||||
 | 
					    grep -Po "^ *VERSION \K[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$" "${pkgname}/CMakeLists.txt"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
prepare() {
 | 
					prepare() {
 | 
				
			||||||
    cd "$pkgname"
 | 
					    cd "$pkgname"
 | 
				
			||||||
    mkdir -p "build"
 | 
					    mkdir -p "build"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
 | 
					# Maintainer: Tobias Reisinger <tobias@msrg.cc>
 | 
				
			||||||
pkgname=emgauwa-core-testing
 | 
					pkgname=emgauwa-core-testing
 | 
				
			||||||
pkgver=0.1.3
 | 
					pkgver=0.2.0
 | 
				
			||||||
pkgrel=1
 | 
					pkgrel=1
 | 
				
			||||||
epoch=
 | 
					epoch=
 | 
				
			||||||
pkgdesc=""
 | 
					pkgdesc=""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue