mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 09:07:18 +08:00
29 lines
833 B
Bash
29 lines
833 B
Bash
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
|
|
|
|
pkgname=linkchecker
|
|
_pkgname=LinkChecker
|
|
pkgver=9.1
|
|
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>=2.5' 'python2-dns')
|
|
makedepends=('qt')
|
|
optdepends=('python-qscintilla: for gui version')
|
|
#source=(http://github.com/downloads/wummel/${pkgname}/${_pkgname}-${pkgver}.tar.xz)
|
|
source=(http://wummel.github.io/linkchecker/dist/${_pkgname}-$pkgver.tar.gz)
|
|
sha256sums=('563f2e00d66e0b34df2e40344ee4e95e4fbc965acbebaf00fcb9cc91864f62cb')
|
|
|
|
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
|
|
}
|
|
|