summaryrefslogtreecommitdiff
path: root/community/kdbg/PKGBUILD
blob: 6efaf15058e18c63430daef461f4585926014f23 (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 100788 2013-11-10 20:07:06Z 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.4
pkgrel=1
pkgdesc="A gdb GUI for KDE"
arch=('i686' 'x86_64')
url="http://www.kdbg.org"
license=('GPL')
depends=('kdebase-runtime' 'gdb')
makedepends=('automoc4' 'cmake' 'optipng')
source=("http://downloads.sourceforge.net/project/kdbg/Source%20Code/$pkgver/kdbg-$pkgver.tar.gz")
md5sums=('715219a810f39e02b493cab9c4a845a1')

build() {
  cd $srcdir
  mkdir -p build
  cd build
  cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr
  make
  find -name '*.png' -exec optipng -quiet -force -fix {} \;
}

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