summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 636a0d9bc88662b0369107f1771a3cd265351b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Pantelis Panayiotou <p.panayiotou@gmail.com>

pkgname=qman-git
pkgver=nightly
pkgrel=6
pkgdesc="A more modern manual page viewer for our terminals"

arch=('x86_64')
url="https://github.com/plp13/qman"
license=('BSD-2-CLAUSE')
depends=('ncurses' 'libinih')
makedepends=('git' 'meson' 'pandoc-cli' 'python-cogapp')
source=("$pkgname"::"git+https://github.com/plp13/qman.git")
sha256sums=('SKIP')

build() {
  cd "${pkgname}"
  meson setup "build/" "src/"
  cd "build/"
  meson configure -Dprefix="/usr"
  meson compile
}

package() {
  cd "${pkgname}"
  cd "build/"
  meson install --destdir "${pkgdir}"
}