blob: e40dd9d1ba453afc49d9f922949575903ba738df (
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
35
36
37
|
# Maintainer: Jef Roosens
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Rick W. Chen <stuffcorpse@archlinux.us>
_pkgname=massif-visualizer
pkgname=massif-visualizer-git
pkgver=673.2a495fa
pkgrel=1
pkgdesc="Visualizer for Valgrind Massif data files (development version)"
arch=('x86_64')
url="https://invent.kde.org/sdk/massif-visualizer"
license=('GPL2')
depends=('karchive5' 'kconfig5' 'kcoreaddons5' 'kparts5' 'kio5' 'ki18n5' 'kdiagram')
makedepends=('git' 'cmake' 'extra-cmake-modules')
provides=('massif-visualizer')
conflicts=('massif-visualizer')
source=("${_pkgname}::git+https://invent.kde.org/sdk/massif-visualizer")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cmake -B build -S "${_pkgname}" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
# vim: ft=bash
|