desktop/linkchecker/PKGBUILD
2012-02-01 20:40:03 +00:00

30 lines
891 B
Bash

#
# Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=linkchecker
_pkgname=LinkChecker
pkgver=7.4
pkgrel=1
pkgdesc="An utility to check HTML documents for broken links."
arch=('i686' 'x86_64')
url="http://linkchecker.sourceforge.net/"
license=('GPL')
depends=('python' 'python-dnspython')
makedepends=('qt')
optdepends=('python-qscintilla: for gui version')
source=(http://downloads.sourceforge.net/$pkgname/${_pkgname}-$pkgver.tar.bz2)
md5sums=('c767071b4d909f9f510b4cd7096f305a')
build() {
cd $srcdir/${_pkgname}-$pkgver
python2 setup.py sdist --manifest-only
(cd doc/html; make)
python2 setup.py build
python2 setup.py install --root=$pkgdir
# fix conflicting files
rm -rv $pkgdir/usr/lib/python2.7/site-packages/dns
}