[arch-commits] Commit in (heaptrack heaptrack/trunk heaptrack/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Oct 2 22:17:22 UTC 2017
Date: Monday, October 2, 2017 @ 22:17:21
Author: arojas
Revision: 261332
New kdevelop dependency
Added:
heaptrack/
heaptrack/trunk/
heaptrack/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: heaptrack/trunk/PKGBUILD
===================================================================
--- heaptrack/trunk/PKGBUILD (rev 0)
+++ heaptrack/trunk/PKGBUILD 2017-10-02 22:17:21 UTC (rev 261332)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=heaptrack
+pkgver=1.0.0
+pkgrel=2
+arch=(i686 x86_64)
+pkgdesc="A heap memory profiler for Linux"
+url="http://milianw.de/tag/heaptrack"
+license=(GPL)
+depends=(kdiagram threadweaver kitemmodels kio boost-libs)
+makedepends=(extra-cmake-modules boost python sparsehash)
+source=(http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+ heaptrack-glibc-2.26.patch)
+sha256sums=('01d87ea1b424a67f943483ff141c0a32a46c5b6109834e2e832ebef898a4474f'
+ 'SKIP'
+ '39a04e0bacb99ecd91d1d8225b944cc9c852853813520b7538b10bcd5ec6d591')
+validpgpkeys=(3D8568869097C65C98F8D2760C0EB212CD1D1393) # Milian Wolff <mail at milianw.de>
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../heaptrack-glibc-2.26.patch # fix build with glibc 2.26
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package(){
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list