mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-12 01:54:42 +08:00
33 lines
1022 B
Bash
33 lines
1022 B
Bash
# Apps packages for Chakra
|
|
|
|
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=('x86_64')
|
|
url="http://www.gnu.org/software/ddd/"
|
|
license=('GPL3' 'LGPL3')
|
|
depends=('gcc-libs' 'lesstif' 'libxaw')
|
|
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=ddd.install
|
|
source=(http://ftp.gnu.org/gnu/ddd/${pkgname}-${pkgver}.tar.gz{,.sig} ddd-3.3.12-gcc44.patch)
|
|
sha1sums=('b91d2dfb1145af409138bd34517a898341724e56'
|
|
'de155d812da6e11e55cc882292bb5c7b30bd31a1'
|
|
'3d43c9d56347f248732b1d72f29c7bf799f03864')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p1 < ../ddd-3.3.12-gcc44.patch
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m644 icons/ddd.xpm "${pkgdir}/usr/share/pixmaps/ddd.xpm"
|
|
}
|