mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
27 lines
1.1 KiB
Bash
27 lines
1.1 KiB
Bash
# $Id: PKGBUILD 30847 2009-03-22 07:10:20Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: Aurelien Foret <orelien@chez.com>
|
|
|
|
pkgname=ddd
|
|
pkgver=3.3.12
|
|
pkgrel=1
|
|
pkgdesc="A graphical front-end for command-line debuggers such as GDB, JDB, pydb, perl debugger..."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/ddd/"
|
|
license=('GPL3' 'LGPL3')
|
|
depends=('gcc-libs' 'ncurses' 'lesstif' 'libxaw>=1.0.5' 'libelf' 'libxext')
|
|
optdepends=('gdb: to use the Gnu debugger' 'jdk: to use the Java debugger' 'pydb: to use the Python debugger' 'perl: to use the Perl debugger')
|
|
install=$pkgname.install
|
|
source=(http://ftp.gnu.org/gnu/ddd/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('c50396db7bac3862a6d2555b3b22c34e')
|
|
sha1sums=('b91d2dfb1145af409138bd34517a898341724e56')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
install -D -m644 icons/ddd.xpm ${pkgdir}/usr/share/pixmaps/ddd.xpm || return 1
|
|
rm ${pkgdir}/usr/share/info/dir || return 1
|
|
gzip ${pkgdir}/usr/share/info/* || return 1
|
|
}
|