summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2b36b0f30bd5211cb32a38695b0114e5e2fba1b (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
# Maintainer:  Florian Lindner <florian.lindner@xgm.de>

pkgname=hotspot
pkgver=1.2.0
pkgrel=1
pkgdesc="The Linux perf GUI for performance analysis"
arch=('any')
url="https://github.com/KDAB/hotspot"
license=('GPL2')
depends=('qt5-base>=5.6.0' 'libelf' 'elfutils' 'threadweaver' 'ki18n' 'kconfig' 'kio' 'kitemviews' 'kcoreaddons' 'kitemmodels' 'kconfigwidgets' 'solid')
makedepends=('cmake>=3.1.0' 'extra-cmake-modules')
provides=("${pkgname}")
conflicts=("${pkgname}-git")
source=("https://github.com/KDAB/hotspot/releases/download/v${pkgver}/hotspot-v${pkgver}.tar.gz")
sha1sums=('52a946fa5e6661e607a03b8faf32abe5b201c62c')

build() {
    cd "${pkgname}-v${pkgver}"
    cmake . -DCMAKE_INSTALL_PREFIX=/usr
    make
}

package() {
    cd "${pkgname}-v${pkgver}"
    make DESTDIR="${pkgdir}/" install
}