18 lines
450 B
Plaintext
18 lines
450 B
Plaintext
# Description: An open-source formatting library
|
|
# URL: https://fmtlib.net/latest/index.html
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: cmake
|
|
|
|
name=fmt
|
|
version=7.0.3
|
|
release=1
|
|
source=(https://github.com/fmtlib/$name/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S$name-$version -Bbuild \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|