# Maintainer: Mirco Tischler pkgname=actor-framework pkgver=0.14.1 pkgrel=1 pkgdesc="An Open Source Implementation of the Actor Model in C++" arch=(i686 x86_64) url="http://actor-framework.org" license=('custom:"BSD-3-Clause"', 'custom:"Boost Software License"') depends=('boost' 'libcl') makedepends=('cmake' 'valgrind' 'gperftools' 'protobuf' 'opencl-headers') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/actor-framework/${pkgname}/archive/${pkgver}.tar.gz") sha256sums=('8940474ae0c3700e503d092f124489a13667098b63b8e94a09e110541d827985') build() { cd ${pkgname}-${pkgver} # reset CXXFLAGS: cmake will overwrite the project's CXXFLAGS with makepkg's custom flags. CXXFLAGS='' ./configure --prefix=/usr make } check() { cd ${pkgname}-${pkgver} make test } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D -m644 LICENSE_ALTERNATIVE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE_ALTERNATIVE" }