PKGBUILDs/c++utilities/default/PKGBUILD

26 lines
789 B
Bash
Raw Normal View History

# Maintainer: Martchus <martchus@gmx.net>
2015-12-02 02:20:30 +01:00
_reponame=cpp-utilities
pkgname=c++utilities
2015-10-16 22:52:00 +02:00
pkgver=3.0.0
2015-12-06 19:17:57 +01:00
pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities."
license=('GPL')
2015-08-11 22:21:14 +02:00
depends=('gcc-libs')
2015-12-06 19:17:57 +01:00
makedepends=('cmake')
2015-12-02 02:20:30 +01:00
url="https://github.com/Martchus/${_reponame}"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
2015-10-16 22:52:00 +02:00
sha256sums=('6de9cb9d9d2af191be79652590d5a23dfaa886c5384c59e7227508542d764dff')
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
2015-12-06 19:17:57 +01:00
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr"
make
}
package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make install
}