diff options
author | Reto Brunner | 2019-01-10 19:48:07 +0100 |
---|---|---|
committer | Lucas Werkmeister | 2019-01-10 22:41:13 +0100 |
commit | 5ffa33c6a5f381d1a9d9f37c409827e2200bd6b8 (patch) | |
tree | c066d84d659b266ae4d63c272fa4402df15184f7 | |
parent | 8a37edccd947ba6c5c4bdecb3ccc1fe80c1cc365 (diff) | |
download | aur-5ffa33c6a5f381d1a9d9f37c409827e2200bd6b8.tar.gz |
Add manpage
Since systemd/mkosi#308 [1], mkosi includes a manpage, though we have to
build it ourselves from the Markdown source using Pandoc.
[1]: https://github.com/systemd/mkosi/pull/308
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sat Nov 3 18:57:50 UTC 2018 +# Thu Jan 10 21:40:47 UTC 2019 pkgbase = mkosi-git pkgdesc = Build Legacy-Free OS Images pkgver = 4.r85.g2fcdbfa @@ -9,6 +9,7 @@ pkgbase = mkosi-git license = LGPL2.1 makedepends = python-setuptools makedepends = git + makedepends = pandoc depends = python optdepends = dnf: build Fedora or Mageia images optdepends = debootstrap: build Debian or Ubuntu images @@ -10,7 +10,7 @@ arch=('any') url='https://github.com/systemd/mkosi' license=('LGPL2.1') depends=('python') -makedepends=('python-setuptools' 'git') +makedepends=('python-setuptools' 'git' 'pandoc') optdepends=('dnf: build Fedora or Mageia images' 'debootstrap: build Debian or Ubuntu images' 'debian-archive-keyring: build Debian images' @@ -54,6 +54,7 @@ pkgver() { build() { cd 'mkosi' + pandoc -s -f markdown -t man mkosi.md -o mkosi.1 python setup.py build } @@ -61,4 +62,5 @@ package() { cd 'mkosi' python setup.py install --skip-build --optimize=1 --root="$pkgdir" + install -Dm 644 mkosi.1 "$pkgdir/usr/share/man/man1/mkosi.1" } |