vp-build/srcpkgs/qrintf/template

19 lines
500 B
Bash

# Template file for 'qrintf'
pkgname=qrintf
version=0.9.2
revision=1
noarch=yes
depends="perl"
short_desc="A sprintf accelerator for GCC and Clang"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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
}