desktop/kdbg/PKGBUILD
2015-03-06 22:23:42 +00:00

34 lines
790 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Contributor: abveritas[at]chakra-project[dot]org>
pkgname=kdbg
pkgver=2.5.5
pkgrel=2
pkgdesc="A gdb GUI for KDE."
arch=('x86_64')
url="http://www.kdbg.org"
license=("GPL")
depends=('kde-runtime' 'gdb')
makedepends=('automoc4' 'cmake' 'optipng')
categories=('programming')
screenshots=('http://www.kdbg.org/kdbgtotal.png')
source=("http://downloads.sourceforge.net/kdbg/$pkgname-$pkgver.tar.gz")
md5sums=('3c4271fb0c3be75d658a94c3ea6c6167')
build() {
cd $pkgname-$pkgver
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
find -name '*.png' -exec optipng -quiet -force -fix {} \;
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}