mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
682 B
Bash
31 lines
682 B
Bash
pkgname=kdbg
|
|
pkgver=2.9.1
|
|
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")
|
|
sha1sums=('ee6ac5113ca62574e1f9495eac4122924753f7ff')
|
|
|
|
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
|
|
}
|