diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,15 +1,15 @@ # Maintainer: Astro Benzene <universebenzene at sina dot com> _pyname=sncosmo pkgname=python-${_pyname}-doc -pkgver=2.1.0 +pkgver=2.3.0 pkgrel=1 pkgdesc="Documentation for SNCosmo" arch=('i686' 'x86_64') url="https://sncosmo.readthedocs.io/" license=('BSD') -makedepends=("python-${_pyname}=${pkgver}" 'python-numpydoc' 'python-sphinx_rtd_theme' 'python-sphinx-gallery' 'python-iminuit') +makedepends=("python-${_pyname}=${pkgver}" 'python-numpydoc' 'python-sphinx_rtd_theme' 'python-sphinx-gallery' 'python-iminuit' 'graphviz') source=("https://github.com/sncosmo/sncosmo/archive/v${pkgver}.tar.gz") -md5sums=('98e7ad173d7bdbb43bbe2dd9f0602f8e') +md5sums=('774b4c8faa1187a692447531b54f9a66') build() { cd ${srcdir}/${_pyname}-${pkgver}/docs @@ -22,4 +22,5 @@ package() { install -d -m755 "${pkgdir}/usr/share/doc/${pkgname%-doc}" cp -a html "${pkgdir}/usr/share/doc/${pkgname%-doc}" + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" ../../LICENSE.rst } |