Merge pull request #551 from m1ten/patch-1

adds python-sphinx in make dependency and manual
This commit is contained in:
Anton Hvornum 2021-06-10 13:32:39 +02:00 committed by GitHub
commit 67b1a9395f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -10,16 +10,18 @@ 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')
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/"
}