28 lines
966 B
Bash
28 lines
966 B
Bash
|
# 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.
|
||
|
|
||
|
_reponame=cpp-utilities
|
||
|
pkgname=c++utilities-doc
|
||
|
pkgver=3.4.0
|
||
|
pkgrel=1
|
||
|
arch=('any')
|
||
|
pkgdesc="Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities (API documentation)."
|
||
|
license=('GPL')
|
||
|
makedepends=('cmake' 'doxygen' 'dia' 'graphviz')
|
||
|
url="https://github.com/Martchus/${_reponame}"
|
||
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
|
||
|
sha256sums=('90434cc672f9c273dd5a338e8a4d5e545faeebd1777019573a85a26d5f2522c2')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
||
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"
|
||
|
make c++utilities_apidoc
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
||
|
make DESTDIR="${pkgdir}" install-api-doc
|
||
|
}
|