Make pkgver automatic with expat
This commit is contained in:
		
							parent
							
								
									c9a12c86c4
								
							
						
					
					
						commit
						fb90077c58
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -5,7 +5,7 @@ ext="dev" | ||||||
| 
 | 
 | ||||||
| fetch() { | fetch() { | ||||||
| 	pkgver_r=$(echo $pkgver | tr '.' '_') | 	pkgver_r=$(echo $pkgver | tr '.' '_') | ||||||
| 	curl -L https://github.com/libexpat/libexpat/releases/download/R_2_2_10/$pkgname-$pkgver.tar.xz -o $pkgname-$pkgver.tar.gz | 	curl -L https://github.com/libexpat/libexpat/releases/download/R_$pkgver_r/$pkgname-$pkgver.tar.xz -o $pkgname-$pkgver.tar.gz | ||||||
| 	tar -xf $pkgname-$pkgver.tar.gz | 	tar -xf $pkgname-$pkgver.tar.gz | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue