Sitemap generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
636 B

# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=python-sitemap-generator
_pkgname=sitemap-generator
pkgver=73.f384a78
pkgrel=1
pkgdesc='Python website crawler module'
arch=('any')
url='https://github.com/Fincer/sitemap-generator'
license=('Apache2')
depends=('python' 'python-aiohttp' 'python-aiofiles' 'python-aiofile')
makedepends=('git' 'python')
source=(
"$pkgname::git+https://github.com/Fincer/${_pkgname}.git"
)
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd ${pkgname}
python setup.py install --root="$pkgdir/"
}