void-packages/srcpkgs/sample/template

20 lines
558 B
Bash

# Template file for 'sample'
pkgname=sample
version=0.1.0
revision=4
build_style=gnu-makefile
short_desc="Filter for random sampling of input"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="https://github.com/silentbicycle/sample/"
distfiles="https://github.com/silentbicycle/sample/archive/v${version}.tar.gz"
checksum=2ca15f1d293e80915abb98c311ddeeb2b99243df07aea554053ce296181a949d
CFLAGS='-std=c99 -D_BSD_SOURCE'
do_install() {
vbin sample
vdoc README.md
sed -n '/Copyright/,/PERFORMANCE/p' main.c > LICENSE
vlicense LICENSE
}