void-packages/srcpkgs/docopt.cpp/template
2021-09-27 19:47:34 +02:00

28 lines
718 B
Bash

# Template file for 'docopt.cpp'
pkgname=docopt.cpp
version=0.6.3
revision=1
build_style=cmake
short_desc="C++11 port of docopt"
maintainer="John <me@johnnynator.dev>"
license="BSL-1.0, MIT"
homepage="https://github.com/docopt/docopt.cpp"
distfiles="https://github.com/docopt/docopt.cpp/archive/refs/tags/v${version}.tar.gz"
checksum=28af5a0c482c6d508d22b14d588a3b0bd9ff97135f99c2814a5aa3cbff1d6632
post_install() {
vlicense LICENSE-MIT
vlicense LICENSE-Boost-1.0
}
docopt.cpp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}