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

Morten Linderud foxboron at archlinux.org
Sat Jun 27 20:45:04 UTC 2020


    Date: Saturday, June 27, 2020 @ 20:45:03
  Author: foxboron
Revision: 655084

upgpkg: todoman 3.8.0-3

Added manpage

Modified:
  todoman/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-27 20:40:25 UTC (rev 655083)
+++ PKGBUILD	2020-06-27 20:45:03 UTC (rev 655084)
@@ -1,8 +1,9 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
 
 pkgname=todoman
 pkgver=3.8.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A simple, standards-based, cli todo (aka: task) manager"
 arch=('any')
 url="https://github.com/pimutils/todoman"
@@ -11,6 +12,7 @@
 'python-configobj' 'python-dateutil' 'python-humanize' 'python-icalendar'
 'python-parsedatetime' 'python-pyxdg' 'python-setuptools' 'python-tabulate'
 'python-urwid')
+makedepends=('python-sphinx' 'python-sphinx-autorun')
 checkdepends=('python-freezegun' 'python-hypothesis' 'python-pytest'
 'python-pytest-runner')
 optdepends=('bash-completion: auto-complete in bash'
@@ -28,6 +30,7 @@
 build() {
   cd "$pkgname-$pkgver"
   python setup.py build
+  PYTHONPATH="$PYTHONPATH:${PWD}" make -C docs man
 }
 
 check() {
@@ -47,6 +50,9 @@
   # docs
   install -vDm 644 {AUTHORS,CHANGELOG,CODE_OF_CONDUCT,README}.rst \
     -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # manpages
+  install -d "$pkgdir/usr/share/man/man1"
+  install -Dm644 docs/build/man/*.1 "$pkgdir/usr/share/man/man1/"
   # license
   # wrong name: https://github.com/pimutils/todoman/issues/319
   install -vDm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"



More information about the arch-commits mailing list