desktop/kdbg/PKGBUILD
2017-12-13 00:05:38 +00:00

30 lines
651 B
Bash

pkgname=kdbg
pkgver=3.0.0
pkgrel=1
pkgdesc="A gdb GUI for KDE."
arch=('x86_64')
url="http://www.kdbg.org"
license=("GPL")
depends=(gdb kxmlgui hicolor-icon-theme)
makedepends=(extra-cmake-modules)
categories=('programming')
screenshots=('http://www.kdbg.org/kdbgtotal.png')
source=("https://downloads.sourceforge.net/project/kdbg/Source%20Code/$pkgver/kdbg-$pkgver.tar.gz")
sha1sums=('74405ca81c0d5969b71ee0458680c465b2fba4c7')
build() {
cd $pkgname-$pkgver
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}