Update c++utilities

This commit is contained in:
Martchus 2016-06-11 00:38:45 +02:00
parent d12b7d9db0
commit b5df831674
4 changed files with 35 additions and 6 deletions

View File

@ -5,16 +5,17 @@
_reponame=cpp-utilities
pkgname=c++utilities
pkgver=3.3.1
pkgver=3.4.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities."
license=('GPL')
depends=('gcc-libs')
depends=()
optdepends=('c++utilities-doc: API documentation')
makedepends=('cmake')
url="https://github.com/Martchus/${_reponame}"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('edc7e1135bbcab303fe46de36000ba2c6f5890f66fe1304f97588afe3f589f16')
sha256sums=('90434cc672f9c273dd5a338e8a4d5e545faeebd1777019573a85a26d5f2522c2')
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

27
c++utilities/doc/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# 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
}

View File

@ -11,7 +11,7 @@ pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities (git version)."
license=('GPL')
depends=('gcc-libs')
depends=()
makedepends=('cmake' 'git')
provides=('c++utilities')
conflicts=('c++utilities')

View File

@ -6,16 +6,17 @@
_name=c++utilities
_reponame=cpp-utilities
pkgname=mingw-w64-c++utilities
pkgver=3.3.1
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 (mingw-w64)."
license=('GPL')
depends=('mingw-w64-crt')
optdepends=('c++utilities-doc: API documentation')
makedepends=('mingw-w64-gcc' 'mingw-w64-cmake')
url="https://github.com/Martchus/${_reponame}"
source=("c++utilities-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('edc7e1135bbcab303fe46de36000ba2c6f5890f66fe1304f97588afe3f589f16')
sha256sums=('90434cc672f9c273dd5a338e8a4d5e545faeebd1777019573a85a26d5f2522c2')
options=(!buildflags staticlibs !strip !emptydirs)
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"