desktop/linkchecker/PKGBUILD
2014-05-08 09:25:47 +00:00

30 lines
849 B
Bash

# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
pkgname=linkchecker
_pkgname=LinkChecker
pkgver=9.2
pkgrel=1
pkgdesc="An utility to check HTML documents for broken links."
arch=('x86_64')
url="http://wummel.github.io/linkchecker/"
license=('GPL')
depends=('python2' 'python2-requests')
makedepends=('qt')
optdepends=('python2-pyqt4: for gui version'
'qscintilla-python2: for gui version'
'python2-dns: a DNS toolkit for Python')
source=("https://pypi.python.org/packages/source/L/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('ba556cd1c172c2cbcb92fc3405d48f44fa56c3074ed3b7ead87f635ad54fb907')
build() {
cd $srcdir/${_pkgname}-$pkgver
python2 setup.py sdist --manifest-only
(cd doc/html; make)
python2 setup.py build
}
package() {
cd $srcdir/${_pkgname}-$pkgver
python2 setup.py install --root=$pkgdir
}