summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c8fd0eff0984db9e2e1baa61077e1b9ac9110f6 (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
# Maintainer: Julian Hornich <julianhornich@googlemail.com>

pkgname=kerncraft-git
pkgver=199.2
pkgrel=1
pkgdesc="Loop Kernel Analysis and Performance Modeling Toolkit"
arch=('i686' 'x86_64')
url="https://github.com/RRZE-HPC/kerncraft"
license=('GPLv3')
# iaca does currently not build from AUR. You might want to install it by hand and uncomment it here
depends=('python2>=2.7' 'python2-yaml' 'likwid' 'iaca' )
makedepends=('git')
optdepends=('intel-compiler-base' 'gcc' 'python2-matplotlib')
source=('git+https://github.com/RRZE-HPC/kerncraft.git')
sha256sums=('SKIP')
provides=('kerncraft')

pkgver() {
  cd ${srcdir}/kerncraft
  echo $(git rev-list --count master).${pkgrel}
}

package() {
  cd ${srcdir}/kerncraft
  python2 setup.py install --root="${pkgdir}"
  install -Dm644 ${srcdir}/kerncraft/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}