Commit e729a199 authored by Manuel's avatar Manuel

Add python support and update

parent e10a5bdb
# $Id: PKGBUILD 77190 2010-04-11 11:51:03Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Platform packages for Chakra
pkgname=gdb
pkgver=7.1
pkgrel=3
pkgver=7.3.1
pkgrel=1
pkgdesc="The GNU Debugger"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gdb/"
license=('GPL3')
depends=('ncurses' 'expat' 'python2')
depends=('ncurses' 'expat' 'python')
makedepends=('texinfo')
backup=('etc/gdb/gdbinit')
options=('!libtool')
install=gdb.install
source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2
tui-no-gdbarch.patch)
md5sums=('21dce610476c054687b52770d2ddc657'
'e2f3f6cb11d72e3727ed4f7c49ea395f')
source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2)
md5sums=('b89a5fac359c618dda97b88645ceab47')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i $srcdir/tui-no-gdbarch.patch
./configure --prefix=/usr --disable-nls \
--with-system-readline \
--with-python=/usr/bin/python \
--with-system-gdbinit=/etc/gdb/gdbinit
make || return 1
make DESTDIR=${pkgdir} install || return 1
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
# install "custom" system gdbinit
install -dm755 $pkgdir/etc/gdb
touch $pkgdir/etc/gdb/gdbinit
# resolve conflicts with binutils
rm -f ${pkgdir}/usr/include/{bfd,dis-asm,symcat,ansidecl,bfdlink}.h
rm -f ${pkgdir}/usr/lib/{libiberty,libbfd,libopcodes}.a
rm -f ${pkgdir}/usr/share/info/{bfd.info,configure.info,standards.info}
rm ${pkgdir}/usr/include/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
rm ${pkgdir}/usr/lib/{libbfd,libiberty,libopcodes}.a
rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
}
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=mplayer
pkgver=34104
pkgrel=2
pkgrel=3
pkgdesc="A movie player for linux"
arch=('i686' 'x86_64')
depends=('a52dec' 'aalib' 'alsa-lib' 'bzip2' 'cdparanoia' 'directfb' 'enca' 'faac' 'faad2' 'fontconfig' 'freetype2'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment