blob: cddff2103790b93a05efccc740766a3ea930d694 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: tocic <tocic at protonmail dot ch>
# Contributor: Mark Pustjens <pustjens@dds.nl>
pkgname=quill
pkgver=8.1.0
pkgrel=1
pkgdesc="Asynchronous Low Latency C++ Logging Library"
arch=("any")
url="https://github.com/odygrd/quill"
license=("MIT")
makedepends=("cmake")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/odygrd/quill/archive/v${pkgver}.tar.gz")
b2sums=("8749e0ba85d8a782981cd6d2496075995a71f374c6bec6e56effa52c43947112d4a1c61e772424ac2218dd3d86d068c8ffee89b8c69dd95e4bdbbaf95294e888")
build() {
cmake -B "build/" -S "${pkgname}-${pkgver}" \
-D QUILL_PKGCONFIG_DIR:PATH="/usr/lib/pkgconfig/" \
-D CMAKE_INSTALL_PREFIX:PATH="/usr/" \
-Wno-dev
cmake --build "build/"
}
package() {
DESTDIR="${pkgdir}" cmake --install "build/"
install -D --target-directory="${pkgdir}/usr/share/licenses/${pkgname}/" \
--mode=644 \
"${pkgname}-${pkgver}/LICENSE"
}
|