22 lines
		
	
	
		
			928 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			928 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
 | |
| 
 | |
| pkgname=miniserve-bin
 | |
| pkgver=0.19.2
 | |
| pkgrel=1
 | |
| pkgdesc='miniserve is a small, self-contained cross-platform CLI tool that allows you to just grab the binary and serve some file(s) via HTTP'
 | |
| url="https://github.com/svenstaro/miniserve"
 | |
| license=('MIT')
 | |
| provides=("miniserve")
 | |
| conflicts=("miniserve")
 | |
| options=("!strip")
 | |
| arch=('aarch64' 'x86_64')
 | |
| _filename="miniserve-v${pkgver}-${arch}"
 | |
| source_aarch64=("${_filename}::${url}/releases/download/v${pkgver}/miniserve-v${pkgver}-aarch64-unknown-linux-musl")
 | |
| source_x86_64=("${_filename}::${url}/releases/download/v${pkgver}/miniserve-v${pkgver}-x86_64-unknown-linux-musl")
 | |
| sha256sums_aarch64=('257a1141f6a3beba423f05189a2648f8120bd8344b17b9ec11387a88564f5c9e')
 | |
| sha256sums_x86_64=('2bc95771a6bb68a9327cc784edf7c07dd424eee5e6cd9e05bb75558c74ccb5be')
 | |
| 
 | |
| package() {
 | |
|     install -Dm755 "${srcdir}/${_filename}" "${pkgdir}/usr/bin/miniserve"
 | |
| }
 |