summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a158ef7c398dbabcb13138a5aec17d4443b1d513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Mirco Tischler <mt-ml at gmx dot de>

pkgname=actor-framework
pkgver=0.14.4
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=('7e77b1edc708ac66be3ab2ba29506681458422e59a2e1b3cd801152ba345fb00')

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"
}