void-packages/srcpkgs/qrintf/template
2019-03-01 12:04:45 -03:00

18 lines
503 B
Bash

# Template file for 'qrintf'
pkgname=qrintf
version=0.9.2
revision=2
archs=noarch
depends="perl"
short_desc="A sprintf accelerator for GCC and Clang"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="https://github.com/h2o/qrintf"
distfiles="https://github.com/h2o/qrintf/archive/v${version}.tar.gz"
checksum=b63950395ebb2fbf32d0047b4155f92b88b57d557ca3225dafc40216d3f90899
do_install() {
make PREFIX=${DESTDIR}/usr install
sed -n '3,21 p' bin/qrintf > LICENSE
vlicense LICENSE
}