updated makedepends and added manual

This commit is contained in:
m1ten 2021-06-05 13:11:57 -04:00 committed by GitHub
parent a4033a7d3a
commit f541df4e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -10,16 +10,19 @@ arch=('any')
url="https://github.com/archlinux/archinstall"
license=('GPL')
depends=('python')
makedepends=('python-setuptools')
makedepends=('python-setuptools' 'python-sphinx')
provides=('python-archinstall')
conflicts=('archinstall' 'python-archinstall' 'python-archinstall-git')
md5sums=('SKIP')
build() {
cd "$startdir"
python setup.py build
make man -C docs
}
package() {
cd "$startdir"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -vDm 644 docs/_build/man/archinstall.1 -t "${pkgdir}/usr/share/man/man1/"
}