# $Id: PKGBUILD 88516 2013-04-19 10:30:24Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Eric Belanger # Contributor: Jason Taylor # Contributor: Georg Grabler pkgname=kdbg pkgver=2.5.3 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=('345183d07eb11a9c841d3dc34b734613') build() { cd $srcdir mkdir -p build cd build cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/build make DESTDIR=$pkgdir install }