desktop/kdbg/PKGBUILD
2017-01-13 23:43:16 +00:00

31 lines
682 B
Bash

pkgname=kdbg
pkgver=2.9.0
pkgrel=1
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")
sha1sums=('f75f0cf76f6965f9746f7c941ba399a233419aef')
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
}