2016-06-11 00:38:45 +02:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
|
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
|
|
# you also find the URL of a binary repository.
|
|
|
|
|
2016-06-17 19:38:20 +02:00
|
|
|
_name=c++utilities
|
2016-06-11 00:38:45 +02:00
|
|
|
_reponame=cpp-utilities
|
2016-09-11 23:37:58 +02:00
|
|
|
pkgname=$_name-doc
|
2023-12-11 21:01:05 +01:00
|
|
|
pkgver=5.24.4
|
2016-06-11 00:38:45 +02:00
|
|
|
pkgrel=1
|
|
|
|
arch=('any')
|
2016-09-11 23:37:58 +02:00
|
|
|
pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities (API documentation)'
|
2016-06-11 00:38:45 +02:00
|
|
|
license=('GPL')
|
2022-09-23 14:46:40 +02:00
|
|
|
makedepends=('cmake' 'ninja' 'doxygen' 'graphviz')
|
2016-06-11 00:38:45 +02:00
|
|
|
url="https://github.com/Martchus/${_reponame}"
|
2016-10-03 14:23:34 +02:00
|
|
|
source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
|
2023-12-11 21:01:05 +01:00
|
|
|
sha256sums=('f27be37d67fd97d934d70d4a9a5dc3368313dae6be219f388f7214511eb61f3b')
|
2016-06-11 00:38:45 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
2019-05-04 16:29:53 +02:00
|
|
|
cmake \
|
2020-10-04 01:04:01 +02:00
|
|
|
-G Ninja \
|
2019-05-04 16:29:53 +02:00
|
|
|
-DCMAKE_BUILD_TYPE:STRING='Release' \
|
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
|
|
|
|
-DBUILD_SHARED_LIBS:BOOL=ON \
|
|
|
|
.
|
2020-10-04 01:04:01 +02:00
|
|
|
ninja c++utilities_apidoc
|
2016-06-11 00:38:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
2020-10-04 01:04:01 +02:00
|
|
|
DESTDIR="${pkgdir}" ninja install-api-doc
|
2016-06-11 00:38:45 +02:00
|
|
|
}
|