summaryrefslogtreecommitdiff
path: root/community/kdbg/PKGBUILD
blob: be06d5eb3969fcd9e5221c5e13d2c858e7ab22df (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
# $Id: PKGBUILD 57376 2011-10-26 15:29:28Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: Jason Taylor <jftaylor21@gmail.com>
# Contributor: Georg Grabler <ggrabler@chello.at>

pkgname=kdbg
pkgver=2.5.1
pkgrel=1
pkgdesc="A gdb GUI for KDE"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdbg.org"
license=('GPL')
depends=('kdebase-runtime' 'gdb')
makedepends=('automoc4' 'cmake')
options=('!libtool')
source=("http://downloads.sourceforge.net/project/kdbg/Source%20Code/$pkgver/kdbg-$pkgver.tar.gz")
md5sums=('a19095dce4cb5df0dbaa9368d400fc30')

build() {
  cd $srcdir
  mkdir -p build
  cd build
  cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd $srcdir/build
  make DESTDIR=$pkgdir install
}