[arch-commits] Commit in prjtrellis/trunk (PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Mon May 30 10:23:21 UTC 2022


    Date: Monday, May 30, 2022 @ 10:23:20
  Author: polyzen
Revision: 1215706

upgpkg: prjtrellis 1.1-4: Remove docs

At least until upstream moves away from recommonmark, which needs to be dropped
so docutils can be updated.

Modified:
  prjtrellis/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-30 10:23:15 UTC (rev 1215705)
+++ PKGBUILD	2022-05-30 10:23:20 UTC (rev 1215706)
@@ -3,13 +3,13 @@
 _prj=trellis
 pkgname=prj$_prj
 pkgver=1.1
-pkgrel=3
+pkgrel=4
 pkgdesc='Documentation and definitions for the Lattice ECP5 bit-stream format'
 arch=('x86_64')
 url='https://github.com/YosysHQ/prjtrellis'
 license=('custom:ISC' 'MIT')
 depends=('boost-libs')
-makedepends=('cmake' "$pkgname-db" 'boost' 'python-sphinx' 'python-sphinx_rtd_theme' 'python-recommonmark')
+makedepends=('cmake' "$pkgname-db" 'boost' 'python')
 optdepends=('python: Python support')
 provides=('libtrellis')
 conflicts=('libtrellis')
@@ -36,19 +36,11 @@
   sed -i 's|Boost::python-NOTFOUND||g' CMakeFiles/*.dir/link.txt
 
   make
-
-  cd ../../docs
-
-  make html
 }
 
 package() {
   cd $pkgname-$pkgver
 
-  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
-  cp -r --no-preserve=ownership docs/_build/* "$pkgdir"/usr/share/doc/$pkgname/
-  rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
-
   install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 
   cd libtrellis/build



More information about the arch-commits mailing list