PKGBUILDs/community/pydb/PKGBUILD

23 lines
742 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Roman G. <chesercat@gmail.com>
pkgname=pydb
pkgver=1.22
pkgrel=3
pkgdesc="Pydb - Extended Python Debugger"
arch=('i686' 'x86_64')
url="http://bashdb.sourceforge.net/pydb/"
license=('GPL')
depends=('python>=2.6')
source=(http://downloads.sourceforge.net/bashdb/${pkgname}-${pkgver}.tar.gz)
md5sums=('1acb757e635fe01ac5fb51d91fd867cb')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make PREFIX=/usr DESTDIR=$startdir/pkg pythondir=/usr/lib/python2.6/site-packages install
ln -sf /usr/lib/python2.6/site-packages/pydb/pydb.py $startdir/pkg/usr/bin/pydb
}