blob: 05c77fe988f41b9a7ae5e232b92affd32b0e2b16 (
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
|
# Maintainer: Florian Lindner <florian.lindner@xgm.de>
pkgname=hotspot
pkgver=1.3.0
pkgrel=2
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' 'rustc-demangle')
makedepends=('cmake>=3.1.0' 'extra-cmake-modules' 'desktop-file-utils')
provides=("${pkgname}")
conflicts=("${pkgname}-git")
source=("https://github.com/KDAB/hotspot/releases/download/v${pkgver}/hotspot-v${pkgver}.tar.gz")
sha1sums=('3fe86a97291a6c9cefc2d0a16e9b5379aa1a831c')
build() {
cd "${pkgname}-v${pkgver}"
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DRUSTC_DEMANGLE_INCLUDE_DIR=/usr/include/rustc-demangle \
-DRUSTC_DEMANGLE_LIBRARY=/usr/lib/rustc-demangle/librustc_demangle.so \
-DBUILD_TESTING=off
make
}
package() {
cd "${pkgname}-v${pkgver}"
make DESTDIR="${pkgdir}/" install
desktop-file-install hotspot.desktop --dir="${pkgdir}/usr/share/applications/"
}
|