2016-09-11 23:37:58 +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.
|
|
|
|
|
|
|
|
_name=qtutilities
|
|
|
|
_reponame=$_name
|
|
|
|
pkgname=$_name-doc
|
2021-11-04 23:30:20 +01:00
|
|
|
pkgver=6.5.3
|
2016-09-11 23:37:58 +02:00
|
|
|
pkgrel=1
|
|
|
|
arch=('any')
|
|
|
|
pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (API documentation)'
|
|
|
|
license=('GPL')
|
2020-10-04 01:04:01 +02:00
|
|
|
makedepends=('cmake' 'ninja' 'doxygen' 'dia' 'graphviz' 'c++utilities' 'qt5-tools' 'mesa')
|
2016-09-11 23:37:58 +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")
|
2021-11-04 23:30:20 +01:00
|
|
|
sha256sums=('17b5bf0db407ff1408ba1d2be6be3fc80de5dbd3fab78f6a66f55b6c4c0b6e22')
|
2016-09-11 23:37:58 +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 ${_name}_apidoc
|
2016-09-11 23:37:58 +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-09-11 23:37:58 +02:00
|
|
|
}
|