blob: 106681cc5a50cd760925163e138a3501bec424e0 (
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
34
|
# Maintainers: James Spencer <james.s.spencer@gmail.com>
# Darjan Krijan [https://disc-kuraudo.eu]
pkgname=cubegui
_version=4.8
_patch=.2
pkgver=${_version}${_patch}
pkgrel=2
pkgdesc="Performance report explorer for displaying a multi-dimensional performance space."
arch=('i686' 'x86_64')
url="http://www.scalasca.org/software/cube-4.x/download.html"
license=('BSD')
depends=('qt5-base' 'cubelib>=4.8.2')
options=('staticlibs')
source=(http://apps.fz-juelich.de/scalasca/releases/cube/${_version}/dist/${pkgname}-${pkgver}.tar.gz)
md5sums=('1fde67d11f8c8f8970eb7c04f68b0f1c')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -e "s/mksec/µs/g" -e "s/\([a-z]\)sec/\1s/g" -i src/GUI-qt/display/PrecisionWidget.cpp
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --with-qt=/usr/bin
sed -i -e 's/--as-needed,//' Makefile build-frontend/Makefile
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir/" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|