blob: d63175daccf04d90badd9ce0495660bab3cec373 (
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
|
# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com >
pkgname=kdevelop-valgrind-git
pkgver=r1155.d670475
pkgrel=1
pkgdesc="A plugin offering a full integration of the valgrind suite to KDevelop (latest development version)"
arch=('x86_64')
url='https://invent.kde.org/kdevelop/kdev-valgrind'
license=('GPL2')
depends=('qt5-base' 'valgrind' 'kdevelop')
conflicts=('kdevelop-valgrind')
provides=('kdevelop-valgrind')
makedepends=('git' 'extra-cmake-modules')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_INSTALL_DIR=lib -B build -S "${pkgname}"
cmake --build build --config RelWithDebInfo
}
package() {
DESTDIR="${pkgdir}" cmake --install build --config RelWithDebInfo
}
|