some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
27 lines
694 B
Bash
27 lines
694 B
Bash
# Template file for 'fmt'
|
|
pkgname=fmt
|
|
version=5.3.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON -DFMT_DOC=OFF -DFMT_TEST=OFF"
|
|
short_desc="Modern formatting library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/fmtlib/fmt"
|
|
distfiles="https://github.com/fmtlib/fmt/archive/${version}.tar.gz"
|
|
checksum=defa24a9af4c622a7134076602070b45721a43c51598c8456ec6f2c4dbb51c89
|
|
|
|
post_install() {
|
|
vlicense LICENSE.rst
|
|
}
|
|
|
|
fmt-devel_package() {
|
|
depends="fmt-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share/pkgconfig
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|