28 lines
668 B
Bash
28 lines
668 B
Bash
|
# Template file for 'fmt'
|
||
|
pkgname=fmt
|
||
|
version=5.2.1
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
||
|
short_desc="Modern formatting library"
|
||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||
|
license="BSD-2-Clause"
|
||
|
homepage="https://github.com/fmtlib/fmt"
|
||
|
distfiles="https://github.com/fmtlib/fmt/archive/${version}.tar.gz"
|
||
|
checksum=3c812a18e9f72a88631ab4732a97ce9ef5bcbefb3235e9fd465f059ba204359b
|
||
|
|
||
|
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"
|
||
|
}
|
||
|
}
|