PKGBUILDs/extra/pylint/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
667 B
Bash

# $Id: PKGBUILD 33692 2009-04-04 16:27:51Z alexanderf $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=pylint
pkgver=0.18.0
pkgrel=1
pkgdesc="Python code static checker"
arch=('i686' 'x86_64')
url="http://www.logilab.org/project/pylint"
license=('GPL')
depends=('python-logilab-astng')
optdepends=('tk: Pylint GUI')
source=(ftp://ftp.logilab.org/pub/pylint/pylint-$pkgver.tar.gz)
md5sums=('2fb51eb37062aff094b104004ecd25a8')
build() {
cd "$srcdir/pylint-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
mkdir -p "$pkgdir/usr/share/man/man1" || return 1
install -m644 man/* "$pkgdir/usr/share/man/man1" || return 1
}