desktop/kdbg/PKGBUILD

34 lines
795 B
Bash
Raw Normal View History

2013-12-10 13:18:02 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Contributor: abveritas[at]chakra-project[dot]org>
2011-04-04 06:56:02 +08:00
pkgname=kdbg
2015-02-25 19:39:18 +08:00
pkgver=2.5.5
2011-04-04 06:56:02 +08:00
pkgrel=1
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")
2013-12-10 13:18:02 +08:00
depends=('kde-runtime' 'gdb')
2015-02-25 19:39:18 +08:00
makedepends=('automoc4' 'cmake' 'optipng')
categories=('programming')
2013-12-10 13:18:02 +08:00
screenshots=('http://www.kdbg.org/kdbgtotal.png')
source=("http://downloads.sourceforge.net/kdbg/$pkgname-$pkgver.tar.gz")
2015-02-25 19:39:18 +08:00
md5sums=('3c4271fb0c3be75d658a94c3ea6c6167')
2011-04-04 06:56:02 +08:00
build() {
2013-12-10 13:18:02 +08:00
cd $srcdir
mkdir -p build
cd build
2011-04-04 06:56:02 +08:00
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
2015-02-25 19:39:18 +08:00
make
find -name '*.png' -exec optipng -quiet -force -fix {} \;
2011-04-04 06:56:02 +08:00
}
package() {
2013-12-10 13:18:02 +08:00
cd $srcdir/build
make DESTDIR=${pkgdir} install
2012-02-02 04:40:03 +08:00
}