desktop/kdbg/PKGBUILD

30 lines
651 B
Bash
Raw Normal View History

2011-04-04 06:56:02 +08:00
pkgname=kdbg
2017-12-13 08:05:38 +08:00
pkgver=3.0.0
pkgrel=1
2011-04-04 06:56:02 +08:00
pkgdesc="A gdb GUI for KDE."
2013-12-10 13:18:02 +08:00
arch=('x86_64')
2011-04-04 06:56:02 +08:00
url="http://www.kdbg.org"
license=("GPL")
2017-12-13 08:05:38 +08:00
depends=(gdb kxmlgui hicolor-icon-theme)
makedepends=(extra-cmake-modules)
categories=('programming')
2013-12-10 13:18:02 +08:00
screenshots=('http://www.kdbg.org/kdbgtotal.png')
2017-12-13 08:05:38 +08:00
source=("https://downloads.sourceforge.net/project/kdbg/Source%20Code/$pkgver/kdbg-$pkgver.tar.gz")
sha1sums=('74405ca81c0d5969b71ee0458680c465b2fba4c7')
2011-04-04 06:56:02 +08:00
build() {
2015-03-07 06:23:42 +08:00
cd $pkgname-$pkgver
2013-12-10 13:18:02 +08:00
mkdir -p build
cd build
2015-03-07 06:23:42 +08:00
cmake .. \
2011-04-04 06:56:02 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
2015-02-25 19:39:18 +08:00
make
2011-04-04 06:56:02 +08:00
}
package() {
2015-03-07 06:23:42 +08:00
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
2012-02-02 04:40:03 +08:00
}