Merge pull request #3099 from diogoleal/shellsheck
New package: shellcheck-0.4.1
This commit is contained in:
		
							
								
								
									
										25
									
								
								srcpkgs/shellcheck/template
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								srcpkgs/shellcheck/template
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| # Template file for 'shellcheck' | ||||
| pkgname=shellcheck | ||||
| version=0.4.1 | ||||
| revision=1 | ||||
| hostmakedepends="cabal-install" | ||||
| short_desc="A static analysis tool for shell scripts" | ||||
| maintainer="Diogo Leal <diogo@diogoleal.com>" | ||||
| license="GPL-3" | ||||
| homepage="http://www.shellcheck.net/" | ||||
| distfiles="https://github.com/koalaman/shellcheck/archive/v${version}.tar.gz" | ||||
| checksum=47518d9024cbd0a15796bc2da3894047b648c9d30605a4e16f3514784e72ec24 | ||||
| nocross=yes | ||||
|  | ||||
| do_build() { | ||||
| 	cabal sandbox init | ||||
| 	cabal update | ||||
| 	cabal install ${makejobs} --only-dependencies | ||||
| 	cabal configure | ||||
| 	cabal build ${makejobs} | ||||
| } | ||||
|  | ||||
| do_install() { | ||||
| 	vbin dist/build/shellcheck/shellcheck | ||||
| 	vdoc shellcheck.1.md | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Jürgen Buchmüller
					Jürgen Buchmüller