desktop/linkchecker/PKGBUILD

30 lines
849 B
Bash
Raw Normal View History

2014-04-12 04:55:04 +08:00
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
2011-09-03 04:43:55 +08:00
pkgname=linkchecker
_pkgname=LinkChecker
2014-12-09 03:37:43 +08:00
pkgver=9.3
2014-05-08 17:25:47 +08:00
pkgrel=1
2011-09-03 04:43:55 +08:00
pkgdesc="An utility to check HTML documents for broken links."
2013-12-12 01:17:35 +08:00
arch=('x86_64')
2014-04-12 04:55:04 +08:00
url="http://wummel.github.io/linkchecker/"
2011-09-03 04:43:55 +08:00
license=('GPL')
2014-05-08 17:25:47 +08:00
depends=('python2' 'python2-requests')
2011-09-03 04:43:55 +08:00
makedepends=('qt')
2014-04-21 22:32:34 +08:00
optdepends=('python2-pyqt4: for gui version'
'qscintilla-python2: for gui version'
'python2-dns: a DNS toolkit for Python')
2014-05-08 17:25:47 +08:00
source=("https://pypi.python.org/packages/source/L/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
2014-12-09 03:37:43 +08:00
sha256sums=('ee0aa60de440fdcf8587ddebf1f691bc777a32d8d4f119beed63f405dc56176d')
2011-09-03 04:43:55 +08:00
build() {
cd $srcdir/${_pkgname}-$pkgver
python2 setup.py sdist --manifest-only
(cd doc/html; make)
python2 setup.py build
2013-12-12 01:17:35 +08:00
}
2014-05-08 17:25:47 +08:00
2013-12-12 01:17:35 +08:00
package() {
cd $srcdir/${_pkgname}-$pkgver
2011-09-03 04:43:55 +08:00
python2 setup.py install --root=$pkgdir
}