summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f6457e0c041632f4bcc18ca074b623ad5967ecc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Matt Quintanilla <matt @ matt quintanilla . xyz>
# Contributor: morpheusthewhite <zffromGerace@hotmail.it>
# Contributor: Eric BĂ©langer <eric@archlinux.org>

pkgname=ddd
pkgver=3.4.1
pkgrel=1
pkgdesc="A graphical front-end for command-line debuggers such as GDB, JDB, pydb, perl debugger..."
arch=('x86_64')
url="http://www.gnu.org/software/ddd/"
license=('GPL-3.0-or-later' 'LGPL-3.0-or-later')
depends=('gcc-libs' 'openmotif' 'libxaw' 'libxt' 'libxft' 'libxmu' 'fontconfig' 'glibc' 'libx11' 'libxpm' 'ncurses')
optdepends=('gdb: to use the Gnu debugger' 
        'java-runtime-openjdk: to use the Java debugger' 
        'perl: to use the Perl debugger')
source=(http://ftp.gnu.org/gnu/ddd/${pkgname}-${pkgver}.tar.gz)
sha1sums=('0e9271aeeded16f0414b3877a25f3a15acb40fb4')
  
prepare() {
  cd ${pkgname}-${pkgver}
}

build() {
  cd ${pkgname}-${pkgver}
  LIBS+="-pthread" ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -D -m644 ddd/ddd.desktop "${pkgdir}/usr/share/applications/ddd.desktop"
}