PKGBUILDs/c++utilities/default/PKGBUILD

25 lines
779 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
2016-01-29 01:29:05 +01:00
pkgver=3.1.1
2015-12-28 00:22:34 +01:00
pkgrel=1
arch=('i686' 'x86_64')
2015-12-24 16:50:30 +01:00
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")
2016-01-29 01:29:05 +01:00
sha256sums=('6d94b823b9ec8e645e79f6bcdfed65bc2c8d3e3ac748f5ce969af1680cee9274')
build() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr"
make
}
package() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make install
}