diff options
Diffstat (limited to 'community/kdbg')
-rw-r--r-- | community/kdbg/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kdbg/PKGBUILD b/community/kdbg/PKGBUILD new file mode 100644 index 000000000..7ed9d510c --- /dev/null +++ b/community/kdbg/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 89959 2013-05-06 10:40:38Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Eric Belanger <belanger@astro.umontreal.ca> +# Contributor: Jason Taylor <jftaylor21@gmail.com> +# Contributor: Georg Grabler <ggrabler@chello.at> + +pkgname=kdbg +pkgver=2.5.3 +pkgrel=2 +pkgdesc="A gdb GUI for KDE" +arch=('i686' 'x86_64') +url="http://www.kdbg.org" +license=('GPL') +depends=('kdebase-runtime' 'gdb') +makedepends=('automoc4' 'cmake' 'optipng') +options=('!libtool') +source=("http://downloads.sourceforge.net/project/kdbg/Source%20Code/$pkgver/kdbg-$pkgver.tar.gz") +md5sums=('345183d07eb11a9c841d3dc34b734613') + +build() { + cd $srcdir + mkdir -p build + cd build + cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr + make + find -name '*.png' -exec optipng -quiet -force -fix {} \; +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install +} |