PKGBUILDs/community/pychecker/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
693 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
#Maintainer: Ben Mazer <blm@groknil.org>
pkgname=pychecker
pkgver=0.8.18
pkgrel=2
pkgdesc="Python code checker"
arch=('i686' 'x86_64')
url="http://pychecker.sourceforge.net"
license=('custom')
depends=('python')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('ef156a631df46de150a364912f2e36c8')
build() {
cd $startdir/src/$pkgname-$pkgver
python setup.py install --root=$startdir/pkg
# Ugly hack to fix patch problem
sed -i 's:/home/.*/community/devel/pychecker/pkg::' $startdir/pkg/usr/bin/pychecker
install -D -m 644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT
}